summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-08-31 20:24:11 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-08-31 20:24:11 (GMT)
commit49a5b338dd2bf9fca14348dd4192736edf7ce88f (patch)
treec270003e5f9a1442e1e70bd9eb77e8688a642b54 /src/H5FDsec2.c
parentd54afb5670a630fbbe0d047416db261bb9014f19 (diff)
downloadhdf5-49a5b338dd2bf9fca14348dd4192736edf7ce88f.zip
hdf5-49a5b338dd2bf9fca14348dd4192736edf7ce88f.tar.gz
hdf5-49a5b338dd2bf9fca14348dd4192736edf7ce88f.tar.bz2
[svn-r1623] included the H5private.h file and replace calls to open() with HDopen().
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r--src/H5FDsec2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index f002c5f..b0ae7dc 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -12,6 +12,7 @@
* I/O from this driver with I/O from other parts of the
* application to the same file).
*/
+#include <H5private.h>
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
@@ -257,11 +258,6 @@ H5FD_sec2_open(const char *name, unsigned flags, hid_t fapl_id/*unused*/,
if (H5F_ACC_TRUNC & flags) o_flags |= O_TRUNC;
if (H5F_ACC_CREAT & flags) o_flags |= O_CREAT;
if (H5F_ACC_EXCL & flags) o_flags |= O_EXCL;
-#ifdef WIN32
- /*this is included since we aren't using HDopen which would
- normally include this flag for us*/
- o_flags |= O_BINARY;
-#endif
/* Open the file */
if ((fd=open(name, o_flags, 0666))<0) return NULL;