OSDN Git Service

* gcc.dg/builtins-config.h: Only PowerPC Mac OS shipped without
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2005 01:04:30 +0000 (01:04 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2005 01:04:30 +0000 (01:04 +0000)
C99 functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104972 138bc75d-0d04-0410-961f-82ee72b054a4

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

index dd5d173..97e547f 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 74915bc..6335b5b 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