mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
Merge pull request #510 from bjornfor/fix-musl-build
Only define stat64 when building with glibc
This commit is contained in:
@@ -1273,10 +1273,12 @@ int __lxstat (int ver, const char *path, struct stat *buf)
|
||||
STAT_HANDLER(lxstat, buf, ver, path, buf);
|
||||
}
|
||||
|
||||
#ifdef __GLIBC__
|
||||
int stat64 (const char *path, struct stat64 *buf)
|
||||
{
|
||||
STAT64_HANDLER(stat64, buf, path, buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Contributed by Philipp Hachtmann in version 0.6 */
|
||||
int __xstat64 (int ver, const char *path, struct stat64 *buf)
|
||||
|
||||
Reference in New Issue
Block a user