aboutsummaryrefslogtreecommitdiff
path: root/include/apos/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/builtin.h')
-rw-r--r--include/apos/builtin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/apos/builtin.h b/include/apos/builtin.h
index b6ce0e0..6869361 100644
--- a/include/apos/builtin.h
+++ b/include/apos/builtin.h
@@ -10,6 +10,14 @@
* we'll be golden.
*/
+/**
+ * Check whether compiler supports the builtin.
+ * Note that this definition is only for when the compiler doesn't provide it
+ * automatically.
+ *
+ * @param x Base name of builtin to check for.
+ * @return \c 0 when not supported, non-zero when supported.
+ */
#ifndef __has_builtin
#define __has_builtin(x) (0)
#endif