builtins-config.h: Only PowerPC Mac OS shipped without C99 functions.

* gcc.dg/builtins-config.h: Only PowerPC Mac OS shipped without
	C99 functions.

From-SVN: r104972
This commit is contained in:
Geoffrey Keating 2005-10-05 01:04:30 +00:00 committed by Geoffrey Keating
parent 337f2a22bc
commit 50b737e2a6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-10-04 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/builtins-config.h: Only PowerPC Mac OS shipped without
C99 functions.
2005-10-04 Janis Johnson <janis187@us.ibm.com>
* lib/target-supports.exp (check_effective_target_fortran_large_real,

View File

@ -19,13 +19,13 @@
/* FreeBSD before version 5 doesn't have the entire C99 runtime. */
#elif defined(__netware__)
/* NetWare doesn't have the entire C99 runtime. */
#elif (defined(__APPLE__) \
#elif (defined(__APPLE__) && defined(__ppc__) \
&& ! defined (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__))
/* MacOS versions before 10.3 don't have many C99 functions.
But, if you're including this file, you probably want to test the
newer behaviour, so: */
#error forgot to set -mmacosx-version-min.
#elif (defined(__APPLE__) \
#elif (defined(__APPLE__) && defined(__ppc__) \
&& __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1030)
/* MacOS versions before 10.3 don't have many C99 functions. */
#else