summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/fortify-headers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h
index b116290..e406dce 100644
--- a/include/fortify-headers.h
+++ b/include/fortify-headers.h
@@ -27,8 +27,13 @@
27#endif 27#endif
28 28
29/* we can't use extern inline with overloads without making them external */ 29/* we can't use extern inline with overloads without making them external */
30#ifdef __cplusplus
31#define _FORTIFY_INLINE __inline__ \
32 __attribute__((__always_inline__,__artificial__,__overloadable__))
33#else
30#define _FORTIFY_INLINE static __inline__ \ 34#define _FORTIFY_INLINE static __inline__ \
31 __attribute__((__always_inline__,__artificial__,__overloadable__)) 35 __attribute__((__always_inline__,__artificial__,__overloadable__))
36#endif
32 37
33#else /* !__clang__ */ 38#else /* !__clang__ */
34 39