]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c/lowlevel/arch-x86/types.h
Remove #if 0 section.
[polintos/scott/priv.git] / include / c / lowlevel / arch-x86 / types.h
1 // include/arch-x86/types.h
2
3 #ifndef _LL_ARCH_TYPES_H
4 #define _LL_ARCH_TYPES_H
5
6 #include <stddef.h>
7
8 typedef unsigned char       uint8_t;
9 typedef unsigned short      uint16_t;
10 typedef unsigned int        uint32_t;
11 typedef unsigned long long  uint64_t;
12 typedef char                int8_t;
13 typedef short               int16_t;
14 typedef int                 int32_t;
15 typedef long long           int64_t;
16
17 #ifndef _SSIZE_T
18 #define _SSIZE_T
19 typedef long ssize_t;
20 #endif
21
22 #ifndef _INTPTR_T
23 #define _INTPTR_T
24 typedef long intptr_t;
25 #endif
26
27 #ifndef _UINTPTR_T
28 #define _UINTPTR_T
29 typedef unsigned long uintptr_t;
30 #endif
31
32 #ifndef _PTRDIFF_T
33 #define _PTRDIFF_T
34 typedef long ptrdiff_t;
35 #endif
36
37 #define _LL_LONG_BYTES      4
38 #define _LL_LONG_LOGBYTES   2
39
40 #endif