mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:48:15 +00:00
Merge pull request #506 from arsenm/master
Fix using wrong name for windows.h check with cmake
This commit is contained in:
commit
470d06bb9e
@ -42,7 +42,7 @@ include(CheckCSourceRuns)
|
|||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
|
||||||
check_include_files(ifaddrs.h ZMQ_HAVE_IFADDRS)
|
check_include_files(ifaddrs.h ZMQ_HAVE_IFADDRS)
|
||||||
check_include_files(windows.h HAVE_WINDOWS_H)
|
check_include_files(windows.h ZMQ_HAVE_WINDOWS)
|
||||||
check_include_files(sys/uio.h ZMQ_HAVE_UIO)
|
check_include_files(sys/uio.h ZMQ_HAVE_UIO)
|
||||||
check_include_files(sys/eventfd.h ZMQ_HAVE_EVENTFD)
|
check_include_files(sys/eventfd.h ZMQ_HAVE_EVENTFD)
|
||||||
|
|
||||||
|
@ -82,10 +82,7 @@
|
|||||||
#define ZMQ_HAVE_SOLARIS
|
#define ZMQ_HAVE_SOLARIS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) || defined(_WIN32)
|
#cmakedefine ZMQ_HAVE_WINDOWS
|
||||||
#define ZMQ_HAVE_WINDOWS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user