Skip to content

Commit 788382f

Browse files
committed
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.
1 parent 16a99c5 commit 788382f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

storage/rocksdb/build_rocksdb.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ endif()
3131

3232
include (CheckTypeSize)
3333
check_type_size(size_t SIZEOF_SIZE_T)
34-
check_type_size(uint64_t SIZEOF_UINT64_T)
3534
set_property(SOURCE ha_rocksdb.cc APPEND PROPERTY COMPILE_DEFINITIONS
36-
SIZEOF_SIZE_T=${SIZEOF_SIZE_T} SIZEOF_UINT64_T=${SIZEOF_UINT64_T})
35+
SIZEOF_SIZE_T=${SIZEOF_SIZE_T} SIZEOF_UINT64_T=8)
3736

3837
# Optional compression libraries.
3938

0 commit comments

Comments
 (0)