aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-12-20 18:49:40 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-12-20 18:49:40 +0000
commitd8fa39bfc87c62cdd4970027dedbd982cc2049e1 (patch)
treef469da63e17557efe54352adb4d55ab4014a2f96 /libgo
parente44d7e39178cd91d8dce785b4df9da19a769db7d (diff)
downloadgcc-d8fa39bfc87c62cdd4970027dedbd982cc2049e1.zip
gcc-d8fa39bfc87c62cdd4970027dedbd982cc2049e1.tar.gz
gcc-d8fa39bfc87c62cdd4970027dedbd982cc2049e1.tar.bz2
libgo/runtime: Don't define _GNU_SOURCE in source code.
From-SVN: r182550
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/runtime.h1
-rw-r--r--libgo/runtime/yield.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h
index 1c7ede9..101a2e9 100644
--- a/libgo/runtime/runtime.h
+++ b/libgo/runtime/runtime.h
@@ -6,7 +6,6 @@
#include "config.h"
-#define _GNU_SOURCE
#include "go-assert.h"
#include <setjmp.h>
#include <signal.h>
diff --git a/libgo/runtime/yield.c b/libgo/runtime/yield.c
index 4c2204d..5c47719 100644
--- a/libgo/runtime/yield.c
+++ b/libgo/runtime/yield.c
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-#define _GNU_SOURCE
-
#include "config.h"
#include <stddef.h>