From: Junio C Hamano Date: Thu, 11 Jun 2009 15:58:46 GMT Subject: Re: [RFC/PATCH 1/2] Teach Solaris that _XOPEN_SOURCE=600 really menas XPG6 Message-ID: <7vmy8eiwy1.fsf@alter.siamese.dyndns.org> In-Reply-To: Tomas Carnecky writes: > Until this commit a simple 'make prefix=...' worked just fine. Now I > have to explicitly add '-std=c99' to the gcc commandline. Is there a > reason why the makefile doesn't add this switch automatically? An extended "Solaris updates" series has been cooking in 'next' branch, I think, and does things a bit differently. 4cb18a4 (git-compat-util.h: tweak the way _XOPEN_SOURCE is set on Solaris, 2009-06-05) sets _XOPEN_SOURCE to 500 if you are not compiling with c99.