Commit 2963a49f authored by Sergei Petrunia's avatar Sergei Petrunia

Post-merge fix: Rdb_io_watchdog doesn't support windows

Part #2.
parent 61ca3cf5
......@@ -126,7 +126,7 @@ endif()
INCLUDE(build_rocksdb.cmake)
set(rocksdb_aux_lib_sources
ADD_CONVENIENCE_LIBRARY(rocksdb_aux_lib
ha_rocksdb_proto.h
logger.h
rdb_comparator.h
......@@ -143,16 +143,6 @@ set(rocksdb_aux_lib_sources
rdb_mariadb_port.h
)
if(WIN32)
else()
list(APPEND rocksdb_aux_lib_sources
rdb_io_watchdog.cc
rdb_io_watchdog.h
)
endif()
ADD_CONVENIENCE_LIBRARY(rocksdb_aux_lib ${rocksdb_aux_lib_sources})
ADD_DEPENDENCIES(rocksdb_aux_lib GenError)
# MARIAROCKS-TODO: how to properly depend on -lrt ?
......
......@@ -21,6 +21,8 @@
#include <string>
#include <vector>
#ifndef _WIN32
namespace myrocks {
void Rdb_io_watchdog::expire_io_callback(union sigval timer_data) {
......@@ -231,3 +233,6 @@ int Rdb_io_watchdog::reset_timeout(const uint32_t &write_timeout) {
}
} // namespace myrocks
#endif
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