mirror of https://git.tukaani.org/xz.git
Better #error message.
This commit is contained in:
parent
d8a55c48b3
commit
703d2c33c0
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue