aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-20 23:29:07 +0000
committerYang Tse <yangsita@gmail.com>2008-08-20 23:29:07 +0000
commit1c68e790919cc36331ac5a1e70be5c54f1c6c9d7 (patch)
tree057875c6b62ed9874e01dc113e255c107eb3333b /tests/libtest
parent473a050f0bd4fa42e11f64deb42730baa0b85c39 (diff)
Simplify condition check
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib557.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c
index 1242e6b9d..c70155e95 100644
--- a/tests/libtest/lib557.c
+++ b/tests/libtest/lib557.c
@@ -18,20 +18,13 @@
int curl_msprintf(char *buffer, const char *format, ...);
-#if (CURL_SIZEOF_CURL_OFF_T > 4)
-# if (CURL_SIZEOF_LONG > 4)
-# define MPRNT_SUFFIX_CURL_OFF_T L
-# else
-# define MPRNT_SUFFIX_CURL_OFF_T LL
-# endif
+#if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG)
+# define MPRNT_SUFFIX_CURL_OFF_T LL
#else
-# if (CURL_SIZEOF_LONG > 2)
-# define MPRNT_SUFFIX_CURL_OFF_T L
-# else
-# define MPRNT_SUFFIX_CURL_OFF_T LL
-# endif
+# define MPRNT_SUFFIX_CURL_OFF_T L
#endif
+
#ifdef CURL_ISOCPP
# define MPRNT_OFF_T_C_HELPER2(Val,Suffix) Val ## Suffix
#else