Usermode/libc - Changes to get NASM/irssi/bash ... compiling
[tpg/acess2.git] / Usermode / include / stdint.h
1 /*
2  */
3 #ifndef _STDTYPES_H_
4 #define _STDTYPES_H_
5
6 //typedef unsigned int  uint;
7 typedef unsigned char   uint8_t;
8 typedef unsigned short  uint16_t;
9 typedef unsigned long   uint32_t;
10 typedef unsigned long long      uint64_t;
11
12 typedef signed char             int8_t;
13 typedef signed short    int16_t;
14 typedef signed long             int32_t;
15 typedef signed long long        int64_t;
16
17 #ifdef __LP64__
18 typedef uint64_t        intptr_t;
19 typedef uint64_t        uintptr_t;
20 typedef int64_t ptrdiff_t;
21 #else
22 typedef uint32_t        intptr_t;
23 typedef uint32_t        uintptr_t;
24 typedef int32_t ptrdiff_t;
25 #endif
26 #if 0
27 # error "Unknown pointer size"
28 #endif
29
30 typedef uint64_t        off_t;
31
32 #endif

UCC git Repository :: git.ucc.asn.au