diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-03-28 16:13:11 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-03-28 16:13:11 (GMT) |
commit | a46cd31c832f552566ef1e3626fa9498360d1e84 (patch) | |
tree | efea239c9d78d1ed02e5b2d53b7e6e81305a3e8c /src/H5private.h | |
parent | b643da672a7d0f0a52ecfef2c229e73876e0e13d (diff) | |
download | hdf5-a46cd31c832f552566ef1e3626fa9498360d1e84.zip hdf5-a46cd31c832f552566ef1e3626fa9498360d1e84.tar.gz hdf5-a46cd31c832f552566ef1e3626fa9498360d1e84.tar.bz2 |
[svn-r22166] Reduce warnings from unneeded windows incude file.
Reviewed HDF5-68
Tested: windows
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index e01edd2..37480cb 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -151,7 +151,9 @@ #ifdef H5_HAVE_WIN32_API +/* The following two defines must be before any windows headers are included */ #define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */ +#define NOGDI /* Exclude Graphic Display Interface macros */ #ifdef H5_HAVE_WINSOCK_H #include <winsock2.h> |