Define an int64_min when it is missing

This commit is contained in:
Nick Mathewson
2014-12-19 14:12:22 -05:00
parent 816e6f2eac
commit 357191a095
+4
View File
@@ -191,6 +191,10 @@ typedef unsigned __int64 uint64_t;
#endif
#endif
#ifndef INT64_MIN
#define INT64_MIN ((- INT64_MAX) - 1)
#endif
#ifndef SIZE_MAX
#if SIZEOF_SIZE_T == 8
#define SIZE_MAX UINT64_MAX