Fix using wrong name for windows.h check in cmake

This commit is contained in:
Matt Arsenault 2013-01-27 18:09:32 -05:00
parent e8cbfac966
commit e464a91086
2 changed files with 2 additions and 5 deletions

View File

@ -42,7 +42,7 @@ include(CheckCSourceRuns)
include(CMakeDependentOption)
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/eventfd.h ZMQ_HAVE_EVENTFD)

View File

@ -82,10 +82,7 @@
#define ZMQ_HAVE_SOLARIS
#endif
#if defined(WIN32) || defined(_WIN32)
#define ZMQ_HAVE_WINDOWS
#endif
#cmakedefine ZMQ_HAVE_WINDOWS
#endif