mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Fix windows cmake build
This commit is contained in:
parent
ee7f2a278a
commit
3f4f3c1137
@ -157,7 +157,7 @@ check_function_exists(gethrtime HAVE_GETHRTIME)
|
||||
set(CMAKE_REQUIRED_INCLUDES )
|
||||
|
||||
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)
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "../include/zmq.h"
|
||||
#include "../src/stdint.hpp"
|
||||
#ifdef USING_CMAKE
|
||||
#ifdef ZMQ_USING_CMAKE
|
||||
# include "platform.hpp"
|
||||
#else
|
||||
# include "../src/platform.hpp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user