From b37a0cba06ed9d166d50b99512934ad0de273209 Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Wed, 27 Oct 1999 14:04:23 -0500 Subject: [svn-r1797] included the h5private.h file to get a definition of F_OK and got rid of the #error for WIN32 --- src/H5FDstdio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index 0052b69..eda0e7e 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -14,6 +14,7 @@ #include #include #include +#include "h5private.h" #ifdef HAVE_UNISTD_H #include #endif @@ -300,8 +301,8 @@ H5FD_stdio_open( const char *name, unsigned flags, hid_t fapl_id, /* The unique key */ #ifdef WIN32 -#error "Needs correct fileindexhi & fileindexlo, code below is from sec2 driver" - filehandle = _get_osfhandle(fd); +//#error "Needs correct fileindexhi & fileindexlo, code below is from sec2 driver" + filehandle = _get_osfhandle(f); results = GetFileInformationByHandle(filehandle, &fileinfo); file->fileindexhi = fileinfo.nFileIndexHigh; file->fileindexlo = fileinfo.nFileIndexLow; -- cgit v0.12