From: Steve Ellcey Date: Fri, 21 Nov 2014 23:25:51 +0000 (+0000) Subject: futex.h (SYS_futex): Define if not already done. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8451a46ea68a94f2ecf0e9b96273c9781b39f25;p=gcc.git futex.h (SYS_futex): Define if not already done. 2014-11-21 Steve Ellcey * config/linux/mips/futex.h (SYS_futex): Define if not already done. From-SVN: r217952 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index cfb3479b4fb..08425e98ee2 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2014-11-21 Steve Ellcey + + * config/linux/mips/futex.h (SYS_futex): Define if not already done. + 2014-11-21 H.J. Lu PR bootstrap/63784 diff --git a/libgomp/config/linux/mips/futex.h b/libgomp/config/linux/mips/futex.h index ae32b80569c..7961d32c009 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 + +#if !defined (SYS_futex) +#define SYS_futex __NR_futex +#endif + #define FUTEX_WAIT 0 #define FUTEX_WAKE 1