[PATCH] Darwin 7.0 and above having C99 functions

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu Mar 4 12:13:00 GMT 2004

 > Since Darwin 7.0 and above have all the required C99 functions, we can
 > define TARGET_C99_FUNCTIONS for that target. This patch does
 > that. Later on this can then depend on the Mac OS X version stuff that
 > Matt Austern was adding.
 > OK? Bootstrapped on powerpc-apple-darwin7.0 and
 > powerpc-apple-darwin6.2 with no regressions on either.
 > ChangeLog:
 > 	* config/darwin7.h: New file.
 > 	* config.gcc (*-*-darwin*): Add darwin7.h if the
 > 	version is greater than 6.
 > 	* config/darwin.h (TARGET_C99_FUNCTIONS): Define.

In darwin7.h, all you're doing is setting one macro so you probably
don't need to create a new file.  Perhaps you should instead consider
setting tm_defines in config.gcc for darwin7 or greater?

Kaveh R. Ghazi			ghazi@caip.rutgers.edu

More information about the Gcc-patches mailing list