about summary refs log tree commit diff stats
path: root/wrapperhelper/include-override/common/bits/stdint-least.h
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2024-09-10 17:25:37 +0200
committerGitHub <noreply@github.com>2024-09-10 17:25:37 +0200
commit0d6028d83753ce93aff9aecc8443de657663071c (patch)
tree1226447e55b1051262c6c7fc8ff34074471bd2da /wrapperhelper/include-override/common/bits/stdint-least.h
parent2127eaea221e89a44ececc87bc74f7d7b44873d0 (diff)
downloadbox64-0d6028d83753ce93aff9aecc8443de657663071c.tar.gz
box64-0d6028d83753ce93aff9aecc8443de657663071c.zip
[WRAPPERHELPER] Added per-arch override, always include 'stdc-predef.h', better parsing (#1813)
Diffstat (limited to 'wrapperhelper/include-override/common/bits/stdint-least.h')
-rw-r--r--wrapperhelper/include-override/common/bits/stdint-least.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/wrapperhelper/include-override/common/bits/stdint-least.h b/wrapperhelper/include-override/common/bits/stdint-least.h
new file mode 100644
index 00000000..d9753d7d
--- /dev/null
+++ b/wrapperhelper/include-override/common/bits/stdint-least.h
@@ -0,0 +1,39 @@
+/* Define int_leastN_t and uint_leastN types.
+   Copyright (C) 2024 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.
+
+This file has been adapted to work with the 'wrapperhelper' project on the 09/06/2024.
+*/
+
+#ifndef _BITS_STDINT_LEAST_H
+#define _BITS_STDINT_LEAST_H	1
+
+#include <bits/types.h>
+
+/* Signed.  */
+typedef __int_least8_t int_least8_t;
+typedef __int_least16_t int_least16_t;
+typedef __int_least32_t int_least32_t;
+typedef __int_least64_t int_least64_t;
+
+/* Unsigned.  */
+typedef __uint_least8_t uint_least8_t;
+typedef __uint_least16_t uint_least16_t;
+typedef __uint_least32_t uint_least32_t;
+typedef __uint_least64_t uint_least64_t;
+
+#endif /* bits/stdint-least.h */