mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
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:
parent
16a99c5ad9
commit
788382f77a
1 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue