Skip to content
Snippets Groups Projects
Commit 00d5f886 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

- we switch to simply use FORMAT_OFF_T internally

- Also, we must not assume that SIZEOF_CURL_OFF_T is defined, as this file
gets included from the ares dir at times and then it isn't defined.
parent 49daeaf8
No related branches found
No related tags found
No related merge requests found
......@@ -80,12 +80,11 @@ typedef unsigned char bool;
#endif
#endif /* HAVE_LONGLONG */
/* We set up our internal prefered CURL_FORMAT_OFF_T here */
#undef CURL_FORMAT_OFF_T
#if SIZEOF_CURL_OFF_T > 4
#define CURL_FORMAT_OFF_T "%lld"
/* We set up our internal prefered (CURL_)FORMAT_OFF_T here */
#if defined(SIZEOF_CURL_OFF_T) && (SIZEOF_CURL_OFF_T > 4)
#define FORMAT_OFF_T "%lld"
#else
#define CURL_FORMAT_OFF_T "%ld"
#define FORMAT_OFF_T "%ld"
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment