Patchwork libgo patch committed: Fix Solaris specific define

login
register
mail settings
Submitter Ian Taylor
Date Jan. 28, 2011, 11:33 p.m.
Message ID <mcrei7wtxh0.fsf@google.com>
Download mbox | patch
Permalink /patch/80906/
State New
Headers show

Comments

Ian Taylor - Jan. 28, 2011, 11:33 p.m.
I committed this patch to libgo because I am an idiot.  Bootstrapped on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Patch

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>