summaryrefslogtreecommitdiff
path: root/time64_config.h
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2009-02-11 14:52:41 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2009-02-11 14:52:41 +0100
commit8098e75c0be3e52e094306bfbb7c5350f543ee96 (patch)
tree7f67ae82cfb01499907df16fec4f009bf31304c9 /time64_config.h
parentc6f023287ff1651300e5436a3d1202bcd0fcd710 (diff)
downloadperl-8098e75c0be3e52e094306bfbb7c5350f543ee96.tar.gz
avoid confusing gcc with -2147483648
As Robin explained, -123UL will be (should be) parsed as -(123UL), which should make all compilers happy
Diffstat (limited to 'time64_config.h')
-rw-r--r--time64_config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/time64_config.h b/time64_config.h
index bc3818c567..4032acd215 100644
--- a/time64_config.h
+++ b/time64_config.h
@@ -74,9 +74,9 @@
can handle. We will use your system functions if the time falls
inside these ranges.
*/
-#define SYSTEM_LOCALTIME_MAX LOCALTIME_MAX
-#define SYSTEM_LOCALTIME_MIN LOCALTIME_MIN
-#define SYSTEM_GMTIME_MAX GMTIME_MAX
-#define SYSTEM_GMTIME_MIN GMTIME_MIN
+#define SYSTEM_LOCALTIME_MAX CAT2(LOCALTIME_MAX,UL)
+#define SYSTEM_LOCALTIME_MIN CAT2(LOCALTIME_MIN,UL)
+#define SYSTEM_GMTIME_MAX CAT2(GMTIME_MAX,UL)
+#define SYSTEM_GMTIME_MIN CAT2(GMTIME_MIN,UL)
#endif /* TIME64_CONFIG_H */