mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
Yet another curl_off_t printf format attempt, we now exclude the %-letter from
FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'.
This commit is contained in:
parent
9f437269fb
commit
353f764119
7 changed files with 38 additions and 34 deletions
|
|
@ -82,12 +82,11 @@ typedef unsigned char bool;
|
|||
|
||||
/* 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"
|
||||
#define FORMAT_OFF_T "lld"
|
||||
#else
|
||||
#define FORMAT_OFF_T "%ld"
|
||||
#define FORMAT_OFF_T "ld"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef NEED_REENTRANT
|
||||
/* Solaris machines needs _REENTRANT set for a few function prototypes and
|
||||
things to appear in the #include files. We need to #define it before all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue