diff options
| author | jvoisin | 2025-12-30 11:33:08 +0100 |
|---|---|---|
| committer | Julien Voisin | 2025-12-30 11:34:48 +0100 |
| commit | eec2b5e06bdb01d20f1a1125074a379e0b154d80 (patch) | |
| tree | faf6d8ef8a04967044c31ac2c7b600ef8ce9a7ec /include/fortify-headers.h | |
| parent | c4c5fd41124f38a5afee02b8f604ddc21d3b199a (diff) | |
Change __warning_if into __fortify_warning_if to fix potential conflicts3.0.1
Diffstat (limited to 'include/fortify-headers.h')
| -rw-r--r-- | include/fortify-headers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h index b0bee87..c32d5fb 100644 --- a/include/fortify-headers.h +++ b/include/fortify-headers.h | |||
| @@ -74,9 +74,9 @@ | |||
| 74 | #endif | 74 | #endif |
| 75 | 75 | ||
| 76 | #if __has_attribute (__diagnose_if) | 76 | #if __has_attribute (__diagnose_if) |
| 77 | #define __warning_if(cond, msg) __attribute__ ((__diagnose_if (cond, msg, "warning"))) | 77 | #define __fortify_warning_if(cond, msg) __attribute__ ((__diagnose_if (cond, msg, "warning"))) |
| 78 | #else | 78 | #else |
| 79 | #define __warning_if(cond, msg) | 79 | #define __fortify_warning_if(cond, msg) |
| 80 | #endif | 80 | #endif |
| 81 | 81 | ||
| 82 | #endif | 82 | #endif |
