Commit 50b737e2 by Geoffrey Keating Committed by Geoffrey Keating

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
parent 337f2a22
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> 2005-10-04 Janis Johnson <janis187@us.ibm.com>
* lib/target-supports.exp (check_effective_target_fortran_large_real, * lib/target-supports.exp (check_effective_target_fortran_large_real,
...@@ -19,13 +19,13 @@ ...@@ -19,13 +19,13 @@
/* FreeBSD before version 5 doesn't have the entire C99 runtime. */ /* FreeBSD before version 5 doesn't have the entire C99 runtime. */
#elif defined(__netware__) #elif defined(__netware__)
/* NetWare doesn't have the entire C99 runtime. */ /* NetWare doesn't have the entire C99 runtime. */
#elif (defined(__APPLE__) \ #elif (defined(__APPLE__) && defined(__ppc__) \
&& ! defined (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)) && ! defined (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__))
/* MacOS versions before 10.3 don't have many C99 functions. /* MacOS versions before 10.3 don't have many C99 functions.
But, if you're including this file, you probably want to test the But, if you're including this file, you probably want to test the
newer behaviour, so: */ newer behaviour, so: */
#error forgot to set -mmacosx-version-min. #error forgot to set -mmacosx-version-min.
#elif (defined(__APPLE__) \ #elif (defined(__APPLE__) && defined(__ppc__) \
&& __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1030) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1030)
/* MacOS versions before 10.3 don't have many C99 functions. */ /* MacOS versions before 10.3 don't have many C99 functions. */
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment