libgo patch committed: Fix Solaris specific define

Submitted by Ian Taylor on Jan. 28, 2011, 11:33 p.m.

Details

Message ID mcrei7wtxh0.fsf@google.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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>