diff options
Diffstat (limited to 'include/apos/builtin.h')
| -rw-r--r-- | include/apos/builtin.h | 9 |
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 |
