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

libio/stdio.h

index 8e6694a..c1ba9b2 100644 (file)
@@ -838,7 +838,7 @@ extern void funlockfile (FILE *__stream) __THROW;
 #ifdef __USE_EXTERN_INLINES
 # include <bits/stdio.h>
 #endif
-#if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus
+#if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
 # include <bits/stdio2.h>
 #endif
 #ifdef __LDBL_COMPAT