aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 7ccfa66b5..538a0d529 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -121,25 +121,21 @@
#endif
/*
- * Set up internal curl_off_t formatting string directive
+ * Ensure that no one is using the old internal FORMAT_OFF_T macro
*/
#ifdef FORMAT_OFF_T
-# error "FORMAT_OFF_T shall not be defined before this point!"
- Error Compilation_aborted_FORMAT_OFF_T_already_defined
-#else
-# define FORMAT_OFF_T CURL_FMT_OFF_T
+# error "FORMAT_OFF_T shall not be defined!"
+ Error Compilation_aborted_FORMAT_OFF_T_shall_not_be_defined
#endif
/*
- * Set up internal unsigned curl_off_t formatting string directive
+ * Ensure that no one is using the old internal FORMAT_OFF_TU macro
*/
#ifdef FORMAT_OFF_TU
-# error "FORMAT_OFF_TU shall not be defined before this point!"
- Error Compilation_aborted_FORMAT_OFF_TU_already_defined
-#else
-# define FORMAT_OFF_TU CURL_FMT_OFF_TU
+# error "FORMAT_OFF_TU shall not be defined!"
+ Error Compilation_aborted_FORMAT_OFF_TU_shall_not_be_defined
#endif
/*