aboutsummaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-24 16:21:12 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-24 16:21:12 +0000
commit6843299d9b978aca10b5cb1be949492c61c5b092 (patch)
tree5c75a67dfb7f3167793a69e6210cd00349c4eee1 /ctype
parentUpdate. (diff)
downloadglibc-6843299d9b978aca10b5cb1be949492c61c5b092.tar.gz
glibc-6843299d9b978aca10b5cb1be949492c61c5b092.tar.bz2
glibc-6843299d9b978aca10b5cb1be949492c61c5b092.zip
Update.
1999-05-24 Ulrich Drepper <drepper@cygnus.com> * ctype/ctype.h: Don't optimize toupper/tolower for C++.
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctype/ctype.h b/ctype/ctype.h
index fd4f9e8ca9..11f92068d4 100644
--- a/ctype/ctype.h
+++ b/ctype/ctype.h
@@ -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) \