mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
testsuite: Fix double definition of 64-bits variant
If _FILE_OFFSET_BITS is defined we should not be wrapping these 64 variants, since they are macros in libc.
This commit is contained in:
parent
4075860264
commit
d642341777
@ -184,16 +184,20 @@ WRAP_2ARGS(FILE*, NULL, fopen, const char*);
|
||||
WRAP_2ARGS(int, -1, mkdir, mode_t);
|
||||
WRAP_2ARGS(int, -1, access, int);
|
||||
WRAP_2ARGS(int, -1, stat, struct stat*);
|
||||
WRAP_2ARGS(int, -1, stat64, struct stat64*);
|
||||
WRAP_2ARGS(int, -1, lstat, struct stat*);
|
||||
#ifndef _FILE_OFFSET_BITS
|
||||
WRAP_2ARGS(int, -1, stat64, struct stat64*);
|
||||
WRAP_2ARGS(int, -1, lstat64, struct stat64*);
|
||||
WRAP_OPEN(64);
|
||||
#endif
|
||||
|
||||
WRAP_OPEN();
|
||||
WRAP_OPEN(64);
|
||||
|
||||
#ifdef HAVE___XSTAT
|
||||
WRAP_VERSTAT(__x,);
|
||||
WRAP_VERSTAT(__x,64);
|
||||
WRAP_VERSTAT(__lx,);
|
||||
#ifndef _FILE_OFFSET_BITS
|
||||
WRAP_VERSTAT(__x,64);
|
||||
WRAP_VERSTAT(__lx,64);
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user