]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ctype_noninline.h (do_toupper,do_tolower): Call external symbol.
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 5 Jun 2002 15:14:20 +0000 (15:14 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 5 Jun 2002 15:14:20 +0000 (11:14 -0400)
* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
        Call external symbol.

From-SVN: r54285

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/aix/bits/ctype_noninline.h

index 0353cacc6146fd764518f9efa3429d6882fc8b33..131634162678b90248f9a671f26a956698f08b89 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-05  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
+       Call external symbol.
+
 2002-06-05  Paolo Carlini  <pcarlini@unitus.it>
 
        * testsuite/22_locale/money_get_members_char.cc
index 5dff2d1a84d1667d0efa36f92b859731afa81027..f0bb31b121d1d434901810cc0a98f74e62a80ce9 100644 (file)
@@ -52,7 +52,7 @@
 
   char
   ctype<char>::do_toupper(char __c) const
-  { return _toupper(__c); }
+  { return ::toupper((int) __c); }
 
   const char*
   ctype<char>::do_toupper(char* __low, const char* __high) const
@@ -67,7 +67,7 @@
 
   char
   ctype<char>::do_tolower(char __c) const
-  { return _tolower(__c); }
+  { return ::tolower((int) __c); }
 
   const char* 
   ctype<char>::do_tolower(char* __low, const char* __high) const