aboutsummaryrefslogtreecommitdiff
path: root/libcpp
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
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')
-rw-r--r--libcpp/ChangeLog7
-rwxr-xr-xlibcpp/configure3
-rw-r--r--libcpp/configure.ac3
3 files changed, 9 insertions, 4 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 3e8567b..a049652 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,10 @@
+2004-11-24 Roger Sayle <roger@eyesopen.com>
+
+ 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.
+
2004-11-23 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
diff --git a/libcpp/configure b/libcpp/configure
index 978296b..274fb013 100755
--- a/libcpp/configure
+++ b/libcpp/configure
@@ -6149,8 +6149,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include "ansidecl.h"
-#include "system.h"
+#include <sys/types.h>
int
main ()
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;],