summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-09-17 18:06:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-09-17 18:06:49 (GMT)
commit36003ca79cdbe3feb0e764f7e9db1a62bd87922f (patch)
tree552b8c26774f0a7a14963ca0132f03de1ad34437 /src
parent0407b2e64af06f8e65ffd953a20b8bcef3483954 (diff)
downloadhdf5-36003ca79cdbe3feb0e764f7e9db1a62bd87922f.zip
hdf5-36003ca79cdbe3feb0e764f7e9db1a62bd87922f.tar.gz
hdf5-36003ca79cdbe3feb0e764f7e9db1a62bd87922f.tar.bz2
[svn-r19419] On windows, an include bypassed the WIN32_LEAN_AND_MEAN define. Moved the define up. Moved the h5dif.h to after the h5private include
Tested: Windows
Diffstat (limited to 'src')
-rw-r--r--src/H5private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 518b503..01c1735 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -145,12 +145,12 @@
#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN /*Exclude rarely-used stuff from Windows headers */
#ifdef H5_HAVE_WINSOCK_H
#include <winsock2.h>
#endif
-#define WIN32_LEAN_AND_MEAN /*Exclude rarely-used stuff from Windows headers */
#include <windows.h>
#include <direct.h> /* For _getcwd() */