Include bits/fcntl2.h when __va_arg_pack_len is defined rather than when
authordrepper <drepper>
Sat, 15 Sep 2007 22:34:56 +0000 (22:34 +0000)
committerdrepper <drepper>
Sat, 15 Sep 2007 22:34:56 +0000 (22:34 +0000)
not C++.

io/fcntl.h

index 6bfa9fd..330bb30 100644 (file)
@@ -211,9 +211,9 @@ extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len);
 #endif
 
 
-/* Define some macros helping to catch common problems.  */
+/* Define some inlines helping to catch common problems.  */
 #if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline \
-    && !defined __cplusplus
+    && defined __va_arg_pack_len
 # include <bits/fcntl2.h>
 #endif