This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libgo patch committed: Fix Solaris specific define
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Fri, 28 Jan 2011 15:33:31 -0800
- Subject: libgo patch committed: Fix Solaris specific define
I committed this patch to libgo because I am an idiot. Bootstrapped on
x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r 2c6f0e044384 libgo/mksysinfo.sh
--- a/libgo/mksysinfo.sh Thu Jan 27 17:43:34 2011 -0800
+++ b/libgo/mksysinfo.sh Fri Jan 28 15:30:52 2011 -0800
@@ -29,7 +29,7 @@
#if defined(__sun__) && defined(__svr4__)
/* Needed by Solaris header files. */
#define _XOPEN_SOURCE 600
-#define _EXTENSIONS_
+#define __EXTENSIONS__
#endif
#include <sys/types.h>