Skip to content

Commit ac90995

Browse files
committed
fixup! multipath-tools tests: wrap64.h: fix fstat() wrapper for MUSL libc
1 parent fbcd9a2 commit ac90995

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/wrap64.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@
101101
#else
102102
# if !defined(__GLIBC__) && defined(_REDIR_TIME64) && _REDIR_TIME64
103103
# define WRAP_FSTAT_NAME WRAP_NAME(__fstat_time64)
104+
# elif defined(__GLIBC__) && __GLIBC_PREREQ(2, 34) && __BITS_PER_LONG == 32 \
105+
&& defined(_TIME_BITS) && _TIME_BITS == 64
106+
# define WRAP_FSTAT_NAME WRAP_NAME(__fstat64_time)
104107
# else
105108
# define WRAP_FSTAT_NAME WRAP_NAME(fstat)
106109
# endif

0 commit comments

Comments
 (0)