aboutsummaryrefslogtreecommitdiff
path: root/libcpp/configure.ac
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2004-11-24 14:00:38 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2004-11-24 14:00:38 +0000
commitf78ce0c2f31182305ffe14ed95c4b4a18cb0d906 (patch)
tree56c3519f332c97ca08d7d9c1d54497d365375822 /libcpp/configure.ac
parente76382b5719713f6e909866b6c6f7e71510885de (diff)
downloadgcc-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.ac3
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;],