aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-16 03:40:25 +0000
committerYang Tse <yangsita@gmail.com>2008-08-16 03:40:25 +0000
commit0033535e216995ce8108ec50f197f8b684bdf0eb (patch)
treef8bcd7a08ed3babc19e9b1c71931b09adb68d11a /lib/setup.h
parent3e4a8cb800983ee276bbc118dcd5749fc852401a (diff)
Oops, missed FORMAT_OFF_TU
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 7ae4d49c3..dcd021851 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -137,15 +137,19 @@
#if (CURL_SIZEOF_CURL_OFF_T > 4)
# if (CURL_SIZEOF_LONG > 4)
-# define FORMAT_OFF_T "ld"
+# define FORMAT_OFF_T "ld"
+# define FORMAT_OFF_TU "lu"
# else
-# define FORMAT_OFF_T "lld"
+# define FORMAT_OFF_T "lld"
+# define FORMAT_OFF_TU "llu"
# endif
#else
# if (CURL_SIZEOF_LONG > 2)
-# define FORMAT_OFF_T "ld"
+# define FORMAT_OFF_T "ld"
+# define FORMAT_OFF_TU "lu"
# else
-# define FORMAT_OFF_T "lld"
+# define FORMAT_OFF_T "lld"
+# define FORMAT_OFF_TU "llu"
# endif
#endif