Add a pointless and superfluous GNUism that people at a certain large data

aggregation and advertising company seem to believe is standard.

Approved by:	dim (mentor)
This commit is contained in:
David Chisnall 2011-12-15 11:21:56 +00:00
parent 4fb4550854
commit 2ff02bff09

View File

@ -64,4 +64,11 @@ typedef __uintmax_t uintmax_t;
#define _UINTMAX_T_DECLARED
#endif
/* GNU and Darwin define this and people seem to think it's portable */
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define __WORDSIZE 64
#else
#define __WORDSIZE 32
#endif
#endif /* !_SYS_STDINT_H_ */