diff options
Diffstat (limited to 'include/fortify-headers.h')
| -rw-r--r-- | include/fortify-headers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h index 6f00454..b1e89c3 100644 --- a/include/fortify-headers.h +++ b/include/fortify-headers.h | |||
| @@ -93,6 +93,11 @@ | |||
| 93 | #define __alloc_size(...) | 93 | #define __alloc_size(...) |
| 94 | #endif | 94 | #endif |
| 95 | 95 | ||
| 96 | #if __has_attribute (__diagnose_as_builtin) | ||
| 97 | #define __diagnose_as_builtin(...) __attribute__ ((__diagnose_as_builtin (__VA_ARGS__))) | ||
| 98 | #else | ||
| 99 | #define __diagnose_as_builtin(...) | ||
| 100 | #endif | ||
| 96 | 101 | ||
| 97 | #endif /* __has_attribute */ | 102 | #endif /* __has_attribute */ |
| 98 | 103 | ||
