summaryrefslogtreecommitdiffstats
path: root/src/H5PLprivate.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-03-18 20:44:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-03-18 20:44:02 (GMT)
commit23635d656a7ebb30f082960a27174453a27e96f6 (patch)
tree3155914a33e91a6be2cfc8ea6b6475509fcf9b58 /src/H5PLprivate.h
parentebfebfd7d5a9856eacf94fd1a77867fe757543e5 (diff)
downloadhdf5-23635d656a7ebb30f082960a27174453a27e96f6.zip
hdf5-23635d656a7ebb30f082960a27174453a27e96f6.tar.gz
hdf5-23635d656a7ebb30f082960a27174453a27e96f6.tar.bz2
[svn-r23368] Correct names and add includes for windows
Diffstat (limited to 'src/H5PLprivate.h')
-rw-r--r--src/H5PLprivate.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/H5PLprivate.h b/src/H5PLprivate.h
index 197212a..7d363da 100644
--- a/src/H5PLprivate.h
+++ b/src/H5PLprivate.h
@@ -26,6 +26,19 @@
/* Private headers needed by this file */
#include "H5private.h" /* Generic Functions */
+#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_WINSOCK2_H
+#include <winsock2.h>
+#endif
+
+#include <windows.h>
+
+#endif /*H5_HAVE_WIN32_API*/
+
#ifdef H5_HAVE_DLFCN_H
#include <dlfcn.h>
#endif