summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-03-29 16:47:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-03-29 16:47:26 (GMT)
commitb8cb145bdfc10c7b3fcaf7a05bda4605a7d32533 (patch)
tree45cf4d20c4c02bf0d718e40b29796cecbc792b60 /src/H5private.h
parent03ee4aa0eecf1a87d0d0da2454c532a38e37a38e (diff)
downloadhdf5-b8cb145bdfc10c7b3fcaf7a05bda4605a7d32533.zip
hdf5-b8cb145bdfc10c7b3fcaf7a05bda4605a7d32533.tar.gz
hdf5-b8cb145bdfc10c7b3fcaf7a05bda4605a7d32533.tar.bz2
[svn-r22186] MinGW compile issues fixed.
Tested: windows (big test using stdio only fails - this will be filed for further investigation)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 5bdd8ed..7d67dec 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>