diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2010-08-10 16:41:45 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2010-08-10 16:41:45 (GMT) |
commit | ac240e1ed4fc273dca7416d4493c6f36677211b1 (patch) | |
tree | 69fbec6b3529f2619768eba729dfdf60141c70b9 | |
parent | ecdf033499ec55443445b731d8d5c58524f120fd (diff) | |
download | hdf5-ac240e1ed4fc273dca7416d4493c6f36677211b1.zip hdf5-ac240e1ed4fc273dca7416d4493c6f36677211b1.tar.gz hdf5-ac240e1ed4fc273dca7416d4493c6f36677211b1.tar.bz2 |
[svn-r19216] 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.
-rw-r--r-- | perform/sio_standalone.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |