Fix coompilation on windows

Some Windows enviroments don't have uint64_t, and we dont really need
that type. Assume 64-bit integers take 8 bytes.
This commit is contained in:
Sergei Petrunia 2017-04-01 06:32:20 +03:00
parent 16a99c5ad9
commit 788382f77a

View file

@ -31,9 +31,8 @@ endif()
include (CheckTypeSize)
check_type_size(size_t SIZEOF_SIZE_T)
check_type_size(uint64_t SIZEOF_UINT64_T)
set_property(SOURCE ha_rocksdb.cc APPEND PROPERTY COMPILE_DEFINITIONS
SIZEOF_SIZE_T=${SIZEOF_SIZE_T} SIZEOF_UINT64_T=${SIZEOF_UINT64_T})
SIZEOF_SIZE_T=${SIZEOF_SIZE_T} SIZEOF_UINT64_T=8)
# Optional compression libraries.