__STRICT_ANSI__ "fixes" on STDC_0_IN_SYSTEM_HEADERS (solaris) targets

Bruce Korb bkorb@gnu.org
Tue Oct 3 01:45:00 GMT 2006


> # fake us into system header land...
> #if __STDC__ - 0 == 0
> #error "STDC_0_IN_SYSTEM_HEADERS"
> #endif
> 
> If it fails, then fixincludes knows we have stdc_0_in_system_headers.

That looks about right to me.  KIASAP (as simple as possible,
no way is this coming out "simple". :) Cheers -Bruce



More information about the Gcc mailing list