builtins-config.h: Only PowerPC Mac OS shipped without C99 functions.
authorGeoffrey Keating <geoffk@apple.com>
Wed, 5 Oct 2005 01:04:30 +0000 (01:04 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 5 Oct 2005 01:04:30 +0000 (01:04 +0000)
* gcc.dg/builtins-config.h: Only PowerPC Mac OS shipped without
C99 functions.

From-SVN: r104972

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-config.h

index dd5d17330ac913ffcb5b6259579579930a877684..97e547f2a404d2cf5d838097d38855c623120429 100644 (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,
index 74915bce16d9cf26b4e782699430fff3aa8ef77a..6335b5b15e8ede8ba21e89f4d4c794810846b5ae 100644 (file)
 /* 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