From 788382f77a3253ef0152330dfecadec0afcab841 Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Sat, 1 Apr 2017 06:32:20 +0300 Subject: 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. --- storage/rocksdb/build_rocksdb.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake index 0cbca0f3b05..4b830bbdf32 100644 --- a/storage/rocksdb/build_rocksdb.cmake +++ b/storage/rocksdb/build_rocksdb.cmake @@ -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. -- cgit v1.2.1