summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/torint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/torint.h b/src/common/torint.h
index 1f7421174a..be624e04c6 100644
--- a/src/common/torint.h
+++ b/src/common/torint.h
@@ -117,6 +117,9 @@ typedef unsigned int uint32_t;
#ifndef INT32_MAX
#define INT32_MAX 0x7fffffffu
#endif
+#ifndef INT32_MIN
+#define INT32_MIN (-2147483647-1)
+#endif
#endif
#if (SIZEOF_LONG == 4)