diff options
Diffstat (limited to 'include/c/str/cpy/stp/_compiler.h')
-rw-r--r-- | include/c/str/cpy/stp/_compiler.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/c/str/cpy/stp/_compiler.h b/include/c/str/cpy/stp/_compiler.h deleted file mode 100644 index 197489b..0000000 --- a/include/c/str/cpy/stp/_compiler.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2022 Alejandro Colomar <alx@kernel.org> -// SPDX-License-Identifier: LGPL-3.0-or-later WITH LGPL-3.0-linking-exception - - -#ifndef INCLUDE_C_STR_CPY_STP__COMPILER_H_ -#define INCLUDE_C_STR_CPY_STP__COMPILER_H_ - - -#if (__STDC_VERSION__ < 202000L) -# warn "Minimum C version is C23" -#endif - - -#define c_impossible(e) do \ -{ \ - if (e) \ - c_unreachable(); \ -} while (0) - -#define c_unlikely(e) __builtin_expect(!!(e), 0) - -#if defined(unreachable) -# define c_unreachable() unreachable() -#else -# define c_unreachable() __builtin_unreachable() -#endif - - -#endif // Header guard |