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
This commit is contained in:
parent
e76382b571
commit
f78ce0c2f3
3 changed files with 9 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
3
libcpp/configure
vendored
3
libcpp/configure
vendored
|
@ -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 ()
|
||||
|
|
|
@ -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;],
|
||||
|
|
Loading…
Add table
Reference in a new issue