summaryrefslogtreecommitdiff
path: root/include/sys/swap.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-07-09 14:02:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-07-09 14:04:57 +0200
commit0f7c0f87bc60c47d3326583a6678eb74db92586a (patch)
treeab37550a856de329b23cd3926d589bb5f8933374 /include/sys/swap.h
parent36eb3c655acab4207249c7c09e92a96b74e8cdd7 (diff)
Clang support for gnu_inline attribute
Clang also supports the gnu_inline attribute and the __GNUC_STDC_INLINE__ macro (C99 semantics). However, it reports as GCC 4.2 compatible (__GNUC_MINOR__ / __GNUC__) and thus the current defines do not think it can support this. Add clang as an alternative for this support. Documentation shows that this attribute is supported since at least Clang 8. Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Diffstat (limited to 'include/sys/swap.h')
0 files changed, 0 insertions, 0 deletions