From ea1264842e079187937c8dc27c91edb3702c06bf Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Fri, 29 Oct 1999 10:57:26 -0500 Subject: [svn-r1799] got rid of the include of the private header file --- src/H5FDstdio.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index eda0e7e..4c3ca45 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -14,7 +14,7 @@ #include #include #include -#include "h5private.h" + #ifdef HAVE_UNISTD_H #include #endif @@ -26,7 +26,12 @@ #undef MAX #endif /* MAX */ #define MAX(X,Y) ((X)>(Y)?(X):(Y)) +#ifndef F_OK +#define F_OK 00 +#define W_OK 02 +#define R_OK 04 +#endif /* The driver identification number, initialized at runtime */ static hid_t H5FD_STDIO_g = 0; @@ -545,7 +550,7 @@ H5FD_stdio_read(H5FD_t *_file, hid_t dxpl_id, haddr_t addr, hsize_t size, /* Check easy cases */ if (0 == size) return(0); - if ((uint64_t)addr >= file->eof) { + if ((haddr_t)addr >= file->eof) { memset(buf, 0, size); return(0); } -- cgit v0.12