# HG changeset patch # User michael # Date 1098624032 0 # Node ID 1925d732ea426e247decf439eda4e4ec84c83e70 # Parent 2865f759882aacc467e857d0cd41cd4b124402ef INT MIN/MAX patch by (Bohdan Horst ) diff -r 2865f759882a -r 1925d732ea42 common.h --- a/common.h Sun Oct 24 02:59:36 2004 +0000 +++ b/common.h Sun Oct 24 13:20:32 2004 +0000 @@ -112,6 +112,18 @@ # endif /* other OS */ #endif /* HAVE_INTTYPES_H */ +#ifndef INT16_MIN +#define INT16_MIN (-0x7fff-1) +#endif + +#ifndef INT16_MAX +#define INT16_MAX 0x7fff +#endif + +#ifndef INT64_MIN +#define INT64_MIN (-0x7fffffffffffffffLL-1) +#endif + #ifndef INT64_MAX #define INT64_MAX int64_t_C(9223372036854775807) #endif