mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[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.
This commit is contained in:
parent
e41647d781
commit
a48caa2db5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user