]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgo/runtime: Don't define _GNU_SOURCE in source code.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Dec 2011 18:49:40 +0000 (18:49 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Dec 2011 18:49:40 +0000 (18:49 +0000)
From-SVN: r182550

libgo/runtime/runtime.h
libgo/runtime/yield.c

index 1c7ede927222f7878f02c5610deb1a56d0a48c0c..101a2e91038b2bed1d9e996f17c44e75888e935d 100644 (file)
@@ -6,7 +6,6 @@
 
 #include "config.h"
 
-#define _GNU_SOURCE
 #include "go-assert.h"
 #include <setjmp.h>
 #include <signal.h>
index 4c2204d35380d46998306e389c052712f8873d46..5c47719d48f76e78c8b5048e61648d366886de5b 100644 (file)
@@ -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>