diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2017-04-01 06:32:20 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2017-04-01 06:32:20 +0300 |
commit | 788382f77a3253ef0152330dfecadec0afcab841 (patch) | |
tree | 82b85b17811e8025333128ea91a801790af96993 | |
parent | 16a99c5ad9ac3f73e307488041caedc4e2b5c8c9 (diff) | |
download | mariadb-git-788382f77a3253ef0152330dfecadec0afcab841.tar.gz |
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.
-rw-r--r-- | storage/rocksdb/build_rocksdb.cmake | 3 |
1 files changed, 1 insertions, 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. |