Commit 788382f7 authored by Sergei Petrunia's avatar Sergei Petrunia

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.
parent 16a99c5a
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment