summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-20 18:49:40 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-20 18:49:40 +0000
commit2e07b62bbe6fa430a7e4a6908bc081641ac727dd (patch)
treef469da63e17557efe54352adb4d55ab4014a2f96 /libgo
parent99dd387826d33583b3e11b69f5a07d010ff5cdfd (diff)
downloadgcc-2e07b62bbe6fa430a7e4a6908bc081641ac727dd.tar.gz
libgo/runtime: Don't define _GNU_SOURCE in source code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182550 138bc75d-0d04-0410-961f-82ee72b054a4
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 1c7ede92722..101a2e91038 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 4c2204d3538..5c47719d48f 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>