0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Fix windows cmake build

This commit is contained in:
Richard Newton 2015-09-14 13:21:20 +01:00
parent ee7f2a278a
commit 3f4f3c1137
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ check_function_exists(gethrtime HAVE_GETHRTIME)
set(CMAKE_REQUIRED_INCLUDES ) set(CMAKE_REQUIRED_INCLUDES )
add_definitions(-D_REENTRANT -D_THREAD_SAFE) add_definitions(-D_REENTRANT -D_THREAD_SAFE)
add_definitions(-D_USING_CMAKE) add_definitions(-DZMQ_USING_CMAKE)
option(ENABLE_EVENTFD "Enable/disable eventfd" ZMQ_HAVE_EVENTFD) option(ENABLE_EVENTFD "Enable/disable eventfd" ZMQ_HAVE_EVENTFD)

View File

@ -32,7 +32,7 @@
#include "../include/zmq.h" #include "../include/zmq.h"
#include "../src/stdint.hpp" #include "../src/stdint.hpp"
#ifdef USING_CMAKE #ifdef ZMQ_USING_CMAKE
# include "platform.hpp" # include "platform.hpp"
#else #else
# include "../src/platform.hpp" # include "../src/platform.hpp"