1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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 # 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>