]> granicus.if.org Git - xz/commitdiff
Better #error message.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 26 May 2010 07:16:57 +0000 (10:16 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 26 May 2010 07:16:57 +0000 (10:16 +0300)
src/common/sysdefs.h

index 97a1c045cfb029c339d8f10673bdb610c8cc101e..61ac0b40df30adc7fd864e3ced6189a6097e59e9 100644 (file)
 #      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>