diff options
| author | jvoisin | 2023-06-25 18:35:23 +0200 |
|---|---|---|
| committer | jvoisin | 2023-06-25 18:35:23 +0200 |
| commit | 8848bca36ef19c15b071939e69bec77603d64ca1 (patch) | |
| tree | 2c51874ecfaadaa319eee7c0927c7d5f184c7e5d /include/fortify-headers.h | |
| parent | fe149628eaae9748be08815d726cc56e8e492c73 (diff) | |
Fix clang support
Diffstat (limited to 'include/fortify-headers.h')
| -rw-r--r-- | include/fortify-headers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h index 42c8317..6ab5e74 100644 --- a/include/fortify-headers.h +++ b/include/fortify-headers.h | |||
| @@ -52,6 +52,8 @@ | |||
| 52 | 52 | ||
| 53 | #if defined __has_attribute && __has_attribute (access) | 53 | #if defined __has_attribute && __has_attribute (access) |
| 54 | #define __access(...) __attribute__ ((access (__VA_ARGS__))) | 54 | #define __access(...) __attribute__ ((access (__VA_ARGS__))) |
| 55 | #else | ||
| 56 | #define __access(...) | ||
| 55 | #endif | 57 | #endif |
| 56 | 58 | ||
| 57 | #endif | 59 | #endif |
