ctype_noninline.h (do_toupper,do_tolower): Call external symbol.
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 5 Jun 2002 14:51:59 +0000 (14:51 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 5 Jun 2002 14:51:59 +0000 (10:51 -0400)
        * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
        Call external symbol.

From-SVN: r54284

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

index e52bafa90d1e4fe35a48ded33d13f5f9a8337841..cce9633317b7e3c4b9645aed6b56c4298c3b958b 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-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
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