diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-19 10:52:25 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-19 10:52:25 +0000 |
commit | dd0eed912fe00b6c12d4b08f638d68ce15a4710f (patch) | |
tree | 83c5be688fe2d99f5f478107c9034299d76df110 /handy.h | |
parent | bff25830104646e483e71521172ce1d2ee03aaaa (diff) | |
download | perl-dd0eed912fe00b6c12d4b08f638d68ce15a4710f.tar.gz |
The INT32_MIN_BROKEN and INT64_MIN_BROKEN tweaks needs
to happen right after the inclusion of <inttypes.h>,
from Edward Moy.
p4raw-id: //depot/perl@10716
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -116,6 +116,14 @@ Null SV pointer. #ifdef I_INTTYPES /* e.g. Linux has int64_t without <inttypes.h> */ # include <inttypes.h> +# ifdef INT32_MIN_BROKEN +# undef INT32_MIN +# define INT32_MIN (-2147483647-1) +# endif +# ifdef INT64_MIN_BROKEN +# undef INT64_MIN +# define INT64_MIN (-9223372036854775807LL-1) +# endif #endif typedef I8TYPE I8; |