diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-06-03 22:15:30 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-06-03 22:15:30 (GMT) |
commit | 9752e55b78edcf59b733bad9a0eb5e12c01fe40a (patch) | |
tree | a5869490885dd9d1178eccecbe751ce5288b6bf8 /perform | |
parent | 7469fe0563443f2a476b6bf55d3fd978060c828c (diff) | |
download | hdf5-9752e55b78edcf59b733bad9a0eb5e12c01fe40a.zip hdf5-9752e55b78edcf59b733bad9a0eb5e12c01fe40a.tar.gz hdf5-9752e55b78edcf59b733bad9a0eb5e12c01fe40a.tar.bz2 |
[svn-r18964] Windows use of VC_EXTRALEAN no longer did anything. It has been replaced by WIN32_LEAN_AND_MEAN macro. This was the cause of a define conflict causing the use of grp1 and grp2 to be replaced with constants in the h5dumpgentest.c file.
This also affected the use of the #include <winsock.h> needed by gethostname. The new include: winsock2.h has been added to h5private.h and either removed or updated in the other files.
Tested: Windows
Diffstat (limited to 'perform')
-rw-r--r-- | perform/iopipe.c | 7 | ||||
-rw-r--r-- | perform/sio_timer.h | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/perform/iopipe.c b/perform/iopipe.c index 0667995..77d4fc8 100644 --- a/perform/iopipe.c +++ b/perform/iopipe.c @@ -21,13 +21,6 @@ /* See H5private.h for how to include headers */ #include "hdf5.h" -#ifdef H5_HAVE_WINSOCK_H -#include <Winsock.h> -#endif - -/*Winsock.h includes windows.h, due to the different value of -WINVER, windows.h should be put before H5private.h. Kent yang 6/21/2001*/ - #if defined (__MWERKS__) #ifdef H5_HAVE_SYS_TIMEB #undef H5_HAVE_SYS_TIMEB diff --git a/perform/sio_timer.h b/perform/sio_timer.h index 943ce28..82f053d 100644 --- a/perform/sio_timer.h +++ b/perform/sio_timer.h @@ -27,7 +27,7 @@ #endif #ifdef _WIN32 -# include <winsock.h> +# include <winsock2.h> #endif /* _WIN32 */ /* The different types of timers we can have */ |