Better #error message.

This commit is contained in:
Lasse Collin 2010-05-26 10:16:57 +03:00
parent d8a55c48b3
commit 703d2c33c0
1 changed files with 2 additions and 2 deletions

View File

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