aboutsummaryrefslogtreecommitdiff
path: root/include/apos/builtin.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-22 23:35:02 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-22 23:35:02 +0300
commit72df0de8cb579fd96449d19eb57fc71335907a19 (patch)
tree6a0a24478fe95f009619787afd24ddfe5df8cfd7 /include/apos/builtin.h
parentd99be9e2912e0726ab779053b43a89e3b9e21490 (diff)
downloadkmi-72df0de8cb579fd96449d19eb57fc71335907a19.tar.gz
kmi-72df0de8cb579fd96449d19eb57fc71335907a19.zip
add @file info to all files
+ Next step, start documenting contents of each file.
Diffstat (limited to 'include/apos/builtin.h')
-rw-r--r--include/apos/builtin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/apos/builtin.h b/include/apos/builtin.h
index 52a3fa2..b6ce0e0 100644
--- a/include/apos/builtin.h
+++ b/include/apos/builtin.h
@@ -1,6 +1,15 @@
#ifndef APOS_BUILTIN_H
#define APOS_BUILTIN_H
+/**
+ * @file builtin.h
+ * Defines __has_builtin, if the compiler doesn't support it.
+ *
+ * Technically we only support clang and gcc at the moment, and they both
+ * support __has_builtin, but if some interesting compiler comes along then
+ * we'll be golden.
+ */
+
#ifndef __has_builtin
#define __has_builtin(x) (0)
#endif