From dd0eed912fe00b6c12d4b08f638d68ce15a4710f Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 19 Jun 2001 10:52:25 +0000 Subject: The INT32_MIN_BROKEN and INT64_MIN_BROKEN tweaks needs to happen right after the inclusion of , from Edward Moy. p4raw-id: //depot/perl@10716 --- handy.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'handy.h') diff --git a/handy.h b/handy.h index 76cbf2e216..c2bfe1e501 100644 --- a/handy.h +++ b/handy.h @@ -116,6 +116,14 @@ Null SV pointer. #ifdef I_INTTYPES /* e.g. Linux has int64_t without */ # include +# 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; -- cgit v1.2.1