about summary refs log tree commit diff
path: root/misc/bits/syslog-ldbl.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bits/syslog-ldbl.h')
-rw-r--r--misc/bits/syslog-ldbl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/bits/syslog-ldbl.h b/misc/bits/syslog-ldbl.h
index d153c8f8cd..714e70c201 100644
--- a/misc/bits/syslog-ldbl.h
+++ b/misc/bits/syslog-ldbl.h
@@ -27,7 +27,7 @@ __LDBL_REDIR_DECL (syslog)
 __LDBL_REDIR_DECL (vsyslog)
 #endif
 
-#if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus
+#if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
 __LDBL_REDIR_DECL (__syslog_chk)
 
 # ifdef __USE_BSD