diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-11-24 14:00:38 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-11-24 14:00:38 +0000 |
commit | f78ce0c2f31182305ffe14ed95c4b4a18cb0d906 (patch) | |
tree | 56c3519f332c97ca08d7d9c1d54497d365375822 /libcpp/configure.ac | |
parent | e76382b5719713f6e909866b6c6f7e71510885de (diff) | |
download | gcc-f78ce0c2f31182305ffe14ed95c4b4a18cb0d906.zip gcc-f78ce0c2f31182305ffe14ed95c4b4a18cb0d906.tar.gz gcc-f78ce0c2f31182305ffe14ed95c4b4a18cb0d906.tar.bz2 |
re PR preprocessor/15824 (uchar redefinition warnings in libcpp)
PR preprocessor/15824
* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
directly, instead of the non-existant "system.h" and "ansidecl.h".
* configure: Regenerate.
From-SVN: r91157
Diffstat (limited to 'libcpp/configure.ac')
-rw-r--r-- | libcpp/configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libcpp/configure.ac b/libcpp/configure.ac index f088ac8..8a9a449 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -57,8 +57,7 @@ ZW_GNU_GETTEXT_SISTER_DIR AC_CACHE_CHECK(for uchar, gcc_cv_type_uchar, [AC_TRY_COMPILE([ -#include "ansidecl.h" -#include "system.h" +#include <sys/types.h> ], [if ((uchar *)0) return 0; if (sizeof(uchar)) return 0;], |