summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-05 09:52:42 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-05 09:52:42 +0000
commit08344fc762bb7f7ad5ae6608d1b070cf25bb5445 (patch)
treef4bc097a6d220c030eaf0ddc1917e2f0c1be9e3e /libiberty
parentf373184635eadc531021931d2d56ec2b4a59c7fa (diff)
downloadgcc-08344fc762bb7f7ad5ae6608d1b070cf25bb5445.tar.gz
Fix gnu11 fallout on Solaris 10+
libobjc: * thr.c (_XOPEN_SOURCE): Define as 600. libiberty: * sigsetmask.c (_POSIX_SOURCE): Remove. libgomp: * config/posix/lock.c (_XOPEN_SOURCE) Define as 600. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217117 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/sigsetmask.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index d30a80b22ab..ff06b184aaa 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * sigsetmask.c (_POSIX_SOURCE): Remove.
+
2014-10-28 Yury Gribov <y.gribov@samsung.com>
* strtoll.c: New file.
diff --git a/libiberty/sigsetmask.c b/libiberty/sigsetmask.c
index 3b708b16adb..f7a24246d1f 100644
--- a/libiberty/sigsetmask.c
+++ b/libiberty/sigsetmask.c
@@ -15,7 +15,6 @@ be the value @code{1}).
*/
-#define _POSIX_SOURCE
#include <ansidecl.h>
/* Including <sys/types.h> seems to be needed by ISC. */
#include <sys/types.h>