summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-03-28 16:13:11 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-03-28 16:13:11 (GMT)
commita46cd31c832f552566ef1e3626fa9498360d1e84 (patch)
treeefea239c9d78d1ed02e5b2d53b7e6e81305a3e8c /src
parentb643da672a7d0f0a52ecfef2c229e73876e0e13d (diff)
downloadhdf5-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')
-rw-r--r--src/H5private.h2
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>