Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 24 May 1999 16:21:12 +0000 (16:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 24 May 1999 16:21:12 +0000 (16:21 +0000)
1999-05-24  Ulrich Drepper  <drepper@cygnus.com>

* ctype/ctype.h: Don't optimize toupper/tolower for C++.

ChangeLog
ctype/ctype.h

index 537ebc2..d2bfea0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
+
+       * ctype/ctype.h: Don't optimize toupper/tolower for C++.
+
 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
 
        * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
index fd4f9e8..11f9206 100644 (file)
@@ -163,7 +163,7 @@ toupper (int __c) __THROW
 }
 #endif
 
-#if __GNUC__ >= 2 && defined __OPTIMIZE__
+#if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus
 # define __tobody(c, f, a) \
   ({ int __res;                                                                      \
      if (sizeof (c) > 1)                                                     \