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:
Daniel Stenberg 2004-03-02 09:31:18 +00:00
parent 9f437269fb
commit 353f764119
7 changed files with 38 additions and 34 deletions

View file

@ -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