fixed wrong conditionals in hcl-utl.h

This commit is contained in:
hyung-hwan 2019-03-07 12:54:23 +00:00
parent 4e4ac37dec
commit 258567dca9

View File

@ -120,15 +120,15 @@
* HASH * HASH
* ========================================================================= */ * ========================================================================= */
#if (HCL_SIZEOF_SIZE_T == 4) #if (HCL_SIZEOF_OOW_T == 4)
# define HCL_HASH_FNV_MAGIC_INIT (0x811c9dc5) # define HCL_HASH_FNV_MAGIC_INIT (0x811c9dc5)
# define HCL_HASH_FNV_MAGIC_PRIME (0x01000193) # define HCL_HASH_FNV_MAGIC_PRIME (0x01000193)
#elif (HCL_SIZEOF_SIZE_T == 8) #elif (HCL_SIZEOF_OOW_T == 8)
# define HCL_HASH_FNV_MAGIC_INIT (0xCBF29CE484222325) # define HCL_HASH_FNV_MAGIC_INIT (0xCBF29CE484222325)
# define HCL_HASH_FNV_MAGIC_PRIME (0x100000001B3l) # define HCL_HASH_FNV_MAGIC_PRIME (0x100000001B3l)
#elif (HCL_SIZEOF_SIZE_T == 16) #elif (HCL_SIZEOF_OOW_T == 16)
# define HCL_HASH_FNV_MAGIC_INIT (0x6C62272E07BB014262B821756295C58D) # define HCL_HASH_FNV_MAGIC_INIT (0x6C62272E07BB014262B821756295C58D)
# define HCL_HASH_FNV_MAGIC_PRIME (0x1000000000000000000013B) # define HCL_HASH_FNV_MAGIC_PRIME (0x1000000000000000000013B)
#endif #endif