mirror of
https://github.com/json-c/json-c.git
synced 2026-11-08 22:50:47 +08:00
Issue #295: also check if size_t is the size of long long, to help support 64-bit Windows platforms.
This commit is contained in:
1 parent
177c401e02
commit
8157784483
2 files changed
+3
No files matched your search
@@ -26,6 +26,8 @@
|
||||
#define SIZE_T_MAX UINT_MAX
|
||||
#elif SIZEOF_SIZE_T == SIZEOF_LONG
|
||||
#define SIZE_T_MAX ULONG_MAX
|
||||
#elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG
|
||||
#define SIZE_T_MAX ULLONG_MAX
|
||||
#else
|
||||
#error Unable to determine size of size_t
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user