Use ugly libc_stat trick also for stat64.
This commit is contained in:
parent
7a0b649aea
commit
0fa01d706f
2
file.c
2
file.c
@ -106,8 +106,10 @@ struct stat {
|
|||||||
# define loff_t loff_t
|
# define loff_t loff_t
|
||||||
# endif
|
# endif
|
||||||
# define stat libc_stat
|
# define stat libc_stat
|
||||||
|
# define stat64 libc_stat64
|
||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
# undef stat
|
# undef stat
|
||||||
|
# undef stat64
|
||||||
#else
|
#else
|
||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user