Include bits/string3.h when __extern_always_inline is defined instead
authordrepper <drepper>
Sat, 15 Sep 2007 02:35:08 +0000 (02:35 +0000)
committerdrepper <drepper>
Sat, 15 Sep 2007 02:35:08 +0000 (02:35 +0000)
of when not __cplusplus.

string/string.h

index 5e1a96f..90c92d4 100644 (file)
@@ -423,7 +423,7 @@ extern char *basename (__const char *__filename) __THROW __nonnull ((1));
 #  include <bits/string2.h>
 # endif
 
-# if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus
+# if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
 /* Functions with security checks.  */
 #  include <bits/string3.h>
 # endif