update gcc futex time64 patch for compat with riscv32

riscv32 will define both syscalls but with equal value, and long will
not be the right timespec member type.
This commit is contained in:
Rich Felker 2020-09-23 17:56:47 -04:00
parent 87157fa4b4
commit b29ed1829e
5 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
struct timeval tv;
gettimeofday (&tv, NULL);
// Convert the absolute timeout value to a relative timeout
+#if defined(SYS_futex_time64)
+#if defined(SYS_futex_time64) && SYS_futex_time64 != SYS_futex
+ struct
+ {
+ long tv_sec;

View File

@ -4,7 +4,7 @@
struct timeval tv;
gettimeofday (&tv, NULL);
// Convert the absolute timeout value to a relative timeout
+#if defined(SYS_futex_time64)
+#if defined(SYS_futex_time64) && SYS_futex_time64 != SYS_futex
+ struct
+ {
+ long tv_sec;

View File

@ -4,7 +4,7 @@
struct timeval tv;
gettimeofday (&tv, NULL);
// Convert the absolute timeout value to a relative timeout
+#if defined(SYS_futex_time64)
+#if defined(SYS_futex_time64) && SYS_futex_time64 != SYS_futex
+ struct
+ {
+ long tv_sec;

View File

@ -4,7 +4,7 @@
struct timeval tv;
gettimeofday (&tv, NULL);
// Convert the absolute timeout value to a relative timeout
+#if defined(SYS_futex_time64)
+#if defined(SYS_futex_time64) && SYS_futex_time64 != SYS_futex
+ struct
+ {
+ long tv_sec;

View File

@ -4,7 +4,7 @@
struct timeval tv;
gettimeofday (&tv, NULL);
// Convert the absolute timeout value to a relative timeout
+#if defined(SYS_futex_time64)
+#if defined(SYS_futex_time64) && SYS_futex_time64 != SYS_futex
+ struct
+ {
+ long tv_sec;