From 6843299d9b978aca10b5cb1be949492c61c5b092 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 24 May 1999 16:21:12 +0000 Subject: Update. 1999-05-24 Ulrich Drepper * ctype/ctype.h: Don't optimize toupper/tolower for C++. --- ctype/ctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctype') 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) \ -- cgit 1.4.1