summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjvoisin2026-03-13 01:21:30 +0100
committerjvoisin2026-03-13 01:21:30 +0100
commitfa01a693ae41beda27dbf0948bd30bc8b57d90fc (patch)
treec675aa64650f8e7f68f75a4091b6ac54d6ade249 /include
parentf66db750ed01f52707a37e05d86af4f59019f473 (diff)
Improve portability for compilers without __has_attribute
Diffstat (limited to 'include')
-rw-r--r--include/fortify-headers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h
index 3dc33b7..a173466 100644
--- a/include/fortify-headers.h
+++ b/include/fortify-headers.h
@@ -79,6 +79,12 @@
79#define __fortify_warning_if(cond, msg) 79#define __fortify_warning_if(cond, msg)
80#endif 80#endif
81 81
82#else /* ! __has_attribute */
83
84#define __fortify_access(...)
85#define __fortify__format(...)
86#define __fortify_warning_if(cond, msg)
87
82#endif 88#endif
83 89
84#endif 90#endif