diff options
Diffstat (limited to 'src/common/torint.h')
-rw-r--r-- | src/common/torint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/torint.h b/src/common/torint.h index f1c0f1a62..6cb43a3b3 100644 --- a/src/common/torint.h +++ b/src/common/torint.h @@ -120,6 +120,9 @@ typedef unsigned int uint32_t; #ifndef UINT32_MAX #define UINT32_MAX 0xffffffffu #endif +#ifndef INT32_MAX +#define INT32_MAX 0x7fffffffu +#endif #endif #if (SIZEOF_LONG == 4) |