forked from Telodendria/Telodendria
Check INT_WIDTH and LONG_WIDTH... stupid GNU libc.
This commit is contained in:
parent
eeabe93e3f
commit
61e9cdbea3
1 changed files with 4 additions and 2 deletions
|
@ -29,10 +29,12 @@
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#if defined(LONG_BIT) && LONG_BIT == 32
|
#if (defined(LONG_BIT) && LONG_BIT == 32) || \
|
||||||
|
(defined(INT_WIDTH) && INT_WIDTH == 32)
|
||||||
typedef unsigned long uint32_t;
|
typedef unsigned long uint32_t;
|
||||||
|
|
||||||
#elif defined(WORD_BIT) && WORD_BIT == 32
|
#elif (defined(WORD_BIT) && WORD_BIT == 32) || \
|
||||||
|
(defined(LONG_WIDTH) && LONG_WIDTH == 32)
|
||||||
typedef unsigned int uint32_t;
|
typedef unsigned int uint32_t;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue