OSDN Git Service

PR preprocessor/15824
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Nov 2004 14:00:38 +0000 (14:00 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Nov 2004 14:00:38 +0000 (14:00 +0000)
* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
directly, instead of the non-existant "system.h" and "ansidecl.h".
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91157 138bc75d-0d04-0410-961f-82ee72b054a4

libcpp/ChangeLog
libcpp/configure
libcpp/configure.ac

index 3e8567b..a049652 100644 (file)
@@ -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>
 
index 978296b..274fb01 100755 (executable)
@@ -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 ()
index f088ac8..8a9a449 100644 (file)
@@ -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;],