Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
long int has at least 32 bits (as specified by ISO C)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyuichi committed Aug 10, 2015
1 parent 9919dee commit 3a1bf08
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extlib/benz/include/picrin/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3a1bf08

Please sign in to comment.