diff options
author | Joseph Myers <joseph@codesourcery.com> | 2006-01-04 17:53:33 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2006-01-04 17:53:33 +0000 |
commit | b48b4ae81f8d08783c0c20bf11fa1b802e9d6206 (patch) | |
tree | 7c8471705609ef8b0aa35193e05ce380d685091f | |
parent | 3a9a2d47df7a98532ec637cd50b142df9e436d1a (diff) |
* gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't
define if __UCLIBC__ is defined.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl-3_4_3-linux-branch@109339 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | ChangeLog.csl | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/builtins-config.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 1e6d3991c18..51c6d9f9979 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,8 @@ +2006-01-04 Joseph Myers <joseph@codesourcery.com> + + * gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't + define if __UCLIBC__ is defined. + 2006-01-02 Joseph Myers <joseph@codesourcery.com> * gcc/config/arm/arm.h (ARM_FLAG_UCLIBC, TARGET_UCLIBC): New. diff --git a/gcc/testsuite/gcc.dg/builtins-config.h b/gcc/testsuite/gcc.dg/builtins-config.h index d75a71ecc33..3a48f31ee91 100644 --- a/gcc/testsuite/gcc.dg/builtins-config.h +++ b/gcc/testsuite/gcc.dg/builtins-config.h @@ -26,9 +26,10 @@ gives us a way of seeing if _NEWLIB_VERSION is defined. Including <math.h> would work too, but the GLIBC math inlines cause us to generate inferior code, which causes the test to fail, so it is - not safe to include <math.h>. */ + not safe to include <math.h>. Similarly, uClibc lacks the C99 + functions. */ #include <ctype.h> -#ifdef _NEWLIB_VERSION +#if defined(_NEWLIB_VERSION) || defined(__UCLIBC__) #else #define HAVE_C99_RUNTIME #endif |