Commit 3f4f3c11 authored by Richard Newton's avatar Richard Newton

Fix windows cmake build

parent ee7f2a27
......@@ -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"
......
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