diff options
| author | jvoisin | 2024-01-13 20:34:19 +0100 |
|---|---|---|
| committer | jvoisin | 2024-01-13 20:34:19 +0100 |
| commit | 1a8431430ec4b97f0baaf2bf3b385be5f5da08cf (patch) | |
| tree | 17520bfcb54af562aa505d1b4fb42dc0cfad8188 /tests/test_memcpy_static_write.c | |
| parent | 22a8094b41b2606084dc0c0c70487e5ed0fcb652 (diff) | |
Properly check for builtins
Clang's [documentation](https://clang.llvm.org/docs/LanguageExtensions.html#has-builtin) says:
> __has_builtin should not be used to detect support for a builtin macro; use #ifdef instead.
So we're now using both, since it's often tedious/non-trivial to find out
what is a macro and what is a compiler builtin, across compilers and C
versions.
Diffstat (limited to 'tests/test_memcpy_static_write.c')
0 files changed, 0 insertions, 0 deletions
