tools: macOS: types.h: fix missing unsigned types
[openwrt/staging/xback.git] / tools / include / asm / types.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * asm-generic/int-ll64.h
4 *
5 * Integer declarations for architectures which use "long long"
6 * for 64-bit types.
7 */
8
9 #ifndef _ASM_GENERIC_INT_LL64_H
10 #define _ASM_GENERIC_INT_LL64_H
11
12 typedef __signed__ char __s8;
13 typedef unsigned char __u8;
14
15 typedef __signed__ short __s16;
16 typedef unsigned short __u16;
17
18 typedef __signed__ int __s32;
19 typedef unsigned int __u32;
20
21 #ifdef __GNUC__
22 __extension__ typedef __signed__ long long __s64;
23 __extension__ typedef unsigned long long __u64;
24 #else
25 typedef __signed__ long long __s64;
26 typedef unsigned long long __u64;
27 #endif
28
29 #endif /* _ASM_GENERIC_INT_LL64_H */