aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdbit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdbit.c')
-rw-r--r--lib/stdbit.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/stdbit.c b/lib/stdbit.c
new file mode 100644
index 00000000000..4801e74d281
--- /dev/null
+++ b/lib/stdbit.c
@@ -0,0 +1,23 @@
1/* Support C23 bit and byte utilities on non-C23 platforms.
2
3 Copyright 2024 Free Software Foundation, Inc.
4
5 This file is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as
7 published by the Free Software Foundation; either version 2.1 of the
8 License, or (at your option) any later version.
9
10 This file is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>. */
17
18/* Written by Paul Eggert. */
19
20#include <config.h>
21
22#define _GL_STDBIT_INLINE _GL_EXTERN_INLINE
23#include <stdbit.h>