mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 05:20:25 +08:00
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
This commit is contained in:
parent
64bec774ed
commit
c8451a46ea
@ -1,3 +1,7 @@
|
||||
2014-11-21 Steve Ellcey <sellcey@imgtec.com>
|
||||
|
||||
* config/linux/mips/futex.h (SYS_futex): Define if not already done.
|
||||
|
||||
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR bootstrap/63784
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user