+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,
/* 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