mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
- 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.
This commit is contained in:
parent
49daeaf805
commit
00d5f886e3
@ -80,12 +80,11 @@ typedef unsigned char bool;
|
|||||||
#endif
|
#endif
|
||||||
#endif /* HAVE_LONGLONG */
|
#endif /* HAVE_LONGLONG */
|
||||||
|
|
||||||
/* We set up our internal prefered CURL_FORMAT_OFF_T here */
|
/* We set up our internal prefered (CURL_)FORMAT_OFF_T here */
|
||||||
#undef CURL_FORMAT_OFF_T
|
#if defined(SIZEOF_CURL_OFF_T) && (SIZEOF_CURL_OFF_T > 4)
|
||||||
#if SIZEOF_CURL_OFF_T > 4
|
#define FORMAT_OFF_T "%lld"
|
||||||
#define CURL_FORMAT_OFF_T "%lld"
|
|
||||||
#else
|
#else
|
||||||
#define CURL_FORMAT_OFF_T "%ld"
|
#define FORMAT_OFF_T "%ld"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user