ctype_inline.h (is): Use __OBJ_DATA directly.

2000-10-26  David Edelsohn  <dje@watson.ibm.com>

	* config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
        * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
        * config/os/aix/bits/os_defines.h: Add AIX defines.

From-SVN: r37074
This commit is contained in:
David Edelsohn 2000-10-26 18:41:49 +00:00 committed by Benjamin Kosnik
parent eae7a9fa92
commit a69135b83a
4 changed files with 27 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2000-10-26 David Edelsohn <dje@watson.ibm.com>
* config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
* config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
* config/os/aix/bits/os_defines.h: Add AIX defines.
2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.

View File

@ -37,7 +37,7 @@
bool
ctype<char>::
is(mask __m, char __c) const throw()
{ return _IS(__c, __m); }
{ return __OBJ_DATA(__lc_ctype)->mask[__c] & __m; }
const char*
ctype<char>::

View File

@ -57,7 +57,7 @@
char
ctype<char>::do_tolower(char __c) const
{ return _tolower(__a); }
{ return _tolower(__c); }
const char*
ctype<char>::do_tolower(char* __low, const char* __high) const

View File

@ -27,14 +27,30 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
#ifndef _GLIBCPP_OS_DEFINES
# define _GLIBCPP_OS_DEFINES
#define _GLIBCPP_OS_DEFINES
/* System-specific #define, typedefs, corrections, etc, go here. This
file will come before all others. */
#undef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#undef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED 1
/* off64_t */
#ifndef _LARGE_FILE_API
#define _LARGE_FILE_API
#endif
/* atomic types */
#ifndef _ALL_SOURCE
#define _ALL_SOURCE
#endif
#define __off_t off_t
#define __off64_t off64_t
#define __ssize_t ssize_t
#endif