| author | Rich Felker <dalias@aerifal.cx> | 2020年01月30日 11:25:07 -0500 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2020年01月30日 11:25:07 -0500 |
| commit | 5a105f19b5aae79dd302899e634b6b18b3dcd0d6 (patch) | |
| tree | b96bcfdc32cdbf4a16eaf1fea74e4c52bffd52ba /src/internal | |
| parent | e6093b5a870a38ebfb3e54382acd48c698bde15d (diff) | |
| download | musl-5a105f19b5aae79dd302899e634b6b18b3dcd0d6.tar.gz | |
| -rw-r--r-- | src/internal/syscall.h | 7 |
diff --git a/src/internal/syscall.h b/src/internal/syscall.h index d768fb64..0b61f34e 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -193,6 +193,13 @@ hidden long __syscall_ret(unsigned long), #define SYS_sendfile SYS_sendfile64 #endif +#ifndef SYS_clock_gettime +#define SYS_clock_gettime SYS_clock_gettime32 +#endif + +#ifndef SYS_gettimeofday +#define SYS_gettimeofday SYS_gettimeofday_time32 +#endif /* Ensure that the plain syscall names are defined even for "time64-only" * archs. These facilitate callers passing null time arguments, and make |