From 49a5b338dd2bf9fca14348dd4192736edf7ce88f Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Tue, 31 Aug 1999 15:24:11 -0500 Subject: [svn-r1623] included the H5private.h file and replace calls to open() with HDopen(). --- src/H5FDsec2.c | 6 +----- 1 file changed, 1 insertion(+), 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 #include #include #include @@ -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; -- cgit v0.12