diff options
author | Steve Ellcey <sellcey@imgtec.com> | 2014-11-21 23:25:51 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2014-11-21 23:25:51 +0000 |
commit | c8451a46ea68a94f2ecf0e9b96273c9781b39f25 (patch) | |
tree | 27e0543a2cb024c369e483606c730c129bba5de0 /libgomp/config | |
parent | 64bec774eda78d9b51cc1210eb9ce9c24c878016 (diff) | |
download | gcc-c8451a46ea68a94f2ecf0e9b96273c9781b39f25.zip gcc-c8451a46ea68a94f2ecf0e9b96273c9781b39f25.tar.gz gcc-c8451a46ea68a94f2ecf0e9b96273c9781b39f25.tar.bz2 |
futex.h (SYS_futex): Define if not already done.
2014-11-21 Steve Ellcey <sellcey@imgtec.com>
* config/linux/mips/futex.h (SYS_futex): Define if not already done.
From-SVN: r217952
Diffstat (limited to 'libgomp/config')
-rw-r--r-- | libgomp/config/linux/mips/futex.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/config/linux/mips/futex.h b/libgomp/config/linux/mips/futex.h index ae32b80..7961d32 100644 --- a/libgomp/config/linux/mips/futex.h +++ b/libgomp/config/linux/mips/futex.h @@ -25,6 +25,11 @@ /* Provide target-specific access to the futex system call. */ #include <sys/syscall.h> + +#if !defined (SYS_futex) +#define SYS_futex __NR_futex +#endif + #define FUTEX_WAIT 0 #define FUTEX_WAKE 1 |