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:
parent
d8a55c48b3
commit
703d2c33c0
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue