aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-12-31 11:10:25 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-12-31 11:10:42 +0000
commit60bd22620a1e63fb163a788f9565b94d138c6030 (patch)
tree8562a7bf927008c57b006ed907996a4f69dd52bf /lib/curl_setup.h
parent6e4d4a9b51fe65b47992148fc548a5d4efa8ef64 (diff)
mprintf: Replaced internal usage of FORMAT_OFF_T and FORMAT_OFF_TU
Following commit 0aafd77fa4c6f2, replaced the internal usage of FORMAT_OFF_T and FORMAT_OFF_TU with the external versions that we expect API programmers to use. This negates the need for separate definitions which were subtly different under different platforms/compilers.
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 7edeca212..62ea92199 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -140,29 +140,6 @@
#endif
/*
- * Set up internal curl_off_t formatting string directives for
- * exclusive use with libcurl's internal *printf functions.
- */
-
-#ifdef FORMAT_OFF_T
-# error "FORMAT_OFF_T shall not be defined before this point!"
- Error Compilation_aborted_FORMAT_OFF_T_already_defined
-#endif
-
-#ifdef FORMAT_OFF_TU
-# error "FORMAT_OFF_TU shall not be defined before this point!"
- Error Compilation_aborted_FORMAT_OFF_TU_already_defined
-#endif
-
-#if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG)
-# define FORMAT_OFF_T "lld"
-# define FORMAT_OFF_TU "llu"
-#else
-# define FORMAT_OFF_T "ld"
-# define FORMAT_OFF_TU "lu"
-#endif
-
-/*
* Disable other protocols when http is the only one desired.
*/