long int has at least 32 bits (as specified by ISO C)

This commit is contained in:
Yuichi Nishiwaki 2015-08-11 00:18:35 +09:00
parent 9919dee174
commit 3a1bf08a78
1 changed files with 1 additions and 3 deletions

View File

@ -29,11 +29,9 @@ extern "C" {
# if INT_MAX > 2147483640L /* borrowed from luaconf.h */
typedef int int32_t;
typedef unsigned int uint32_t;
# elif LONG_MAX > 2147483640L
# else
typedef long int32_t;
typedef unsigned long uint32_t;
# else
# error you must define int32_t and uint32_t
# endif
#endif