Don't use string function optiomization for C++ as long as we use macros.
authordrepper <drepper>
Thu, 23 Jul 1998 10:44:46 +0000 (10:44 +0000)
committerdrepper <drepper>
Thu, 23 Jul 1998 10:44:46 +0000 (10:44 +0000)
string/string.h

index ee69a78..409fa99 100644 (file)
@@ -299,7 +299,7 @@ extern char *basename __P ((__const char *__filename));
 
 
 #if defined __GNUC__ && __GNUC__ >= 2
-# if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__
+# if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ && !defined __cplusplus
 /* When using GNU CC we provide some optimized versions of selected
    functions from this header.  There are two kinds of optimizations: