summaryrefslogtreecommitdiff
path: root/include/fortify-headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fortify-headers.h')
-rw-r--r--include/fortify-headers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h
index dbace47..74c814b 100644
--- a/include/fortify-headers.h
+++ b/include/fortify-headers.h
@@ -110,6 +110,13 @@
110#define __error_if(cond, msg) 110#define __error_if(cond, msg)
111#endif 111#endif
112 112
113#if __has_attribute (warn_unused_result)
114#define __warn_unused_result __attribute__ ((warn_unused_result))
115#else
116#define __warn_unused_result
117#endif
118
119
113#endif /* __has_attribute */ 120#endif /* __has_attribute */
114 121
115/* 122/*