aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2014-11-05 15:07:38 +0100
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2014-11-05 15:07:38 +0100
commitd3d7100a0d225f44d0bcfc05ae4ede96b462dc9b (patch)
tree80383a344882becd97924c33072426b6bec683e1 /libiberty
parent131e2f8ea152c814af559df088a0d3019f7f45f2 (diff)
downloadgdb-d3d7100a0d225f44d0bcfc05ae4ede96b462dc9b.zip
gdb-d3d7100a0d225f44d0bcfc05ae4ede96b462dc9b.tar.gz
gdb-d3d7100a0d225f44d0bcfc05ae4ede96b462dc9b.tar.bz2
Fix gnu11 fallout on Solaris 10+
* sigsetmask.c (_POSIX_SOURCE): Remove.
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 9e91cce..ed3866a 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-16 Joel Brobecker <brobecker@adacore.com>
* d-demangle.c: Replace strtold with strtod in global comment.
diff --git a/libiberty/sigsetmask.c b/libiberty/sigsetmask.c
index 3b708b1..f7a2424 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>