libredirect: don't test LFS64 functions on musl
These were removed in musl 1.2.4.
This commit is contained in:
parent
9685fb69a0
commit
13eea132c0
1 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ int main(int argc, char *argv[])
|
|||
FILE *testfp;
|
||||
int testfd;
|
||||
struct stat testsb;
|
||||
#ifndef __APPLE__
|
||||
#ifdef __GLIBC__
|
||||
struct stat64 testsb64;
|
||||
#endif
|
||||
#if defined(__linux__) && defined(STATX_TYPE)
|
||||
|
@ -93,11 +93,11 @@ int main(int argc, char *argv[])
|
|||
assert(access(TESTPATH, X_OK) == 0);
|
||||
|
||||
assert(stat(TESTPATH, &testsb) != -1);
|
||||
#ifndef __APPLE__
|
||||
#ifdef __GLIBC__
|
||||
assert(stat64(TESTPATH, &testsb64) != -1);
|
||||
#endif
|
||||
assert(fstatat(123, TESTPATH, &testsb, 0) != -1);
|
||||
#ifndef __APPLE__
|
||||
#ifdef __GLIBC__
|
||||
assert(fstatat64(123, TESTPATH, &testsb64, 0) != -1);
|
||||
#endif
|
||||
#if defined(__linux__) && defined(STATX_TYPE)
|
||||
|
|
Loading…
Reference in a new issue