From a48caa2db518172450da32c7e6830cafcf16d98f Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 10 Aug 2010 11:42:07 -0500 Subject: [svn-r19217] Bug 1986, error1. It is an error to use the condition H5_HAVE_FSEEK64 to control the definition of HDlseek. It caused errors in AIX where lseek64 is available. Replaced it with H5_HAVE_LSEEK64. Also added the missing HDstrcasecmp macro. Tested: AIX using default and --disable-largefile. --- perform/sio_standalone.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perform/sio_standalone.h b/perform/sio_standalone.h index b31d4846..7c4810b 100644 --- a/perform/sio_standalone.h +++ b/perform/sio_standalone.h @@ -255,7 +255,7 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...); #define HDlseek(F,O,W) _lseeki64(F,O,W) #endif #else - #ifdef H5_HAVE_FSEEK64 + #ifdef H5_HAVE_LSEEK64 #define HDlseek(F,O,W) lseek64(F,O,W) #else #define HDlseek(F,O,W) lseek(F,O,W) @@ -386,6 +386,7 @@ H5_DLL void HDsrand(unsigned int seed); #endif /* sscanf() variable arguments */ +#define HDstrcasecmp(X,Y) strcasecmp(X,Y) #define HDstrcat(X,Y) strcat(X,Y) #define HDstrchr(S,C) strchr(S,C) #define HDstrcmp(X,Y) strcmp(X,Y) -- cgit v0.12