diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-06-11 15:49:25 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-06-11 15:49:25 (GMT) |
commit | 75f31948821d7b134f20948f1d3c18547c4c654f (patch) | |
tree | e6314a46e246b7ce56d8eadce1ea1994ca615576 /config/cmake | |
parent | d1b7eede73dd9968042b3e8e1bbabe8949d670ed (diff) | |
download | hdf5-75f31948821d7b134f20948f1d3c18547c4c654f.zip hdf5-75f31948821d7b134f20948f1d3c18547c4c654f.tar.gz hdf5-75f31948821d7b134f20948f1d3c18547c4c654f.tar.bz2 |
[svn-r22450] Update winsock define to match autotools configure check
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 2 | ||||
-rw-r--r-- | config/cmake/H5pubconf.h.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index 0948675..01a4d0e 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -376,7 +376,7 @@ CHECK_INCLUDE_FILE_CONCAT ("mach/mach_time.h" H5_HAVE_MACH_MACH_TIME_H) # Windows CHECK_INCLUDE_FILE_CONCAT ("io.h" H5_HAVE_IO_H) IF (NOT CYGWIN) - CHECK_INCLUDE_FILE_CONCAT ("winsock2.h" H5_HAVE_WINSOCK_H) + CHECK_INCLUDE_FILE_CONCAT ("winsock2.h" H5_HAVE_WINSOCK2_H) ENDIF (NOT CYGWIN) CHECK_INCLUDE_FILE_CONCAT ("sys/timeb.h" H5_HAVE_SYS_TIMEB_H) diff --git a/config/cmake/H5pubconf.h.in b/config/cmake/H5pubconf.h.in index 80406a3..0c6cc0b 100644 --- a/config/cmake/H5pubconf.h.in +++ b/config/cmake/H5pubconf.h.in @@ -461,7 +461,7 @@ #cmakedefine H5_HAVE_WINDOW_PATH @H5_HAVE_WINDOW_PATH@ /* Define to 1 if you have the <winsock.h> header file. */ -#cmakedefine H5_HAVE_WINSOCK_H @H5_HAVE_WINSOCK_H@ +#cmakedefine H5_HAVE_WINSOCK2_H @H5_HAVE_WINSOCK2_H@ /* Define to 1 if you have the <zlib.h> header file. */ #cmakedefine H5_HAVE_ZLIB_H @H5_HAVE_ZLIB_H@ |