From dd801fdabd7e6d80e69cbde473b723a6ef7cff86 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 17 Mar 2005 20:11:23 +0000 Subject: 2005-03-17 Jeff Johnston * configure.in: Add new check to see if compiler supports aliasing of arrays and define _HAVE_ARRAY_ALIASING if true. * configure: Regenerated. * Makefile.in: Ditto. * newlib.hin: Add _HAVE_ARRAY_ALIASING. * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before aliasing the _ctype_ array to _ctype_b. * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark _ctype_ as deprecated. --- newlib/newlib.hin | 3 +++ 1 file changed, 3 insertions(+) (limited to 'newlib/newlib.hin') diff --git a/newlib/newlib.hin b/newlib/newlib.hin index b1b6f051d..b08160cdb 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -141,5 +141,8 @@ * sections. */ #undef HAVE_INITFINI_ARRAY +/* Define if the compiler supports aliasing an array to an address. */ +#undef _HAVE_ARRAY_ALIASING + #endif /* !__NEWLIB_H__ */ -- cgit v1.2.3