Better #error message.

This commit is contained in:
Lasse Collin 2010-05-26 10:16:57 +03:00
parent d8a55c48b3
commit 703d2c33c0

View File

@ -102,11 +102,11 @@
# elif SIZEOF_SIZE_T == 8
# define SIZE_MAX UINT64_MAX
# else
# error sizeof(size_t) is not 32-bit or 64-bit
# error size_t is not 32-bit or 64-bit
# endif
#endif
#if SIZE_MAX != UINT32_MAX && SIZE_MAX != UINT64_MAX
# error sizeof(size_t) is not 32-bit or 64-bit
# error size_t is not 32-bit or 64-bit
#endif
#include <stdlib.h>