aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-11-19 12:29:58 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-11-30 19:21:47 +0000
commit7326bc7f9c14f86976a7769906b167ff96140809 (patch)
tree32cb63614197522ced80fdf65164c7efd92a445b /sys/x86
parent8666fda1afb03b3a88e57a20d76da8e7910b6407 (diff)
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/include/_limits.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/x86/include/_limits.h b/sys/x86/include/_limits.h
index 422667a79bc0..fc7cfac1e70d 100644
--- a/sys/x86/include/_limits.h
+++ b/sys/x86/include/_limits.h
@@ -42,6 +42,9 @@
*/
#define __CHAR_BIT 8 /* number of bits in a char */
+#define __SHRT_BIT 16 /* number of bits in a short */
+#define __INT_BIT 32 /* number of bits in an int */
+#define __LLONG_BIT 64 /* number of bits in a long long */
#define __SCHAR_MAX 0x7f /* max value for a signed char */
#define __SCHAR_MIN (-0x7f - 1) /* min value for a signed char */