X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Fstdint.h;h=5df57eaee196853f3c3cab6a9119163177d3c6c3;hb=a41f3e5efdf853726d078dc03550de40e9d63bdd;hp=ea837ba850f8718ed0bd57e6e1e6b32a7dc2ac0f;hpb=a2210987109ab5a6337c72b45f7e52cfc9092f8f;p=tpg%2Facess2.git diff --git a/Usermode/include/stdint.h b/Usermode/include/stdint.h index ea837ba8..5df57eae 100644 --- a/Usermode/include/stdint.h +++ b/Usermode/include/stdint.h @@ -1,19 +1,25 @@ /* */ -#ifndef _STDTYPES_H_ -#define _STDTYPES_H_ +#ifndef _STDINT_H_ +#define _STDINT_H_ -typedef unsigned int uint; -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned long uint32_t; -typedef unsigned long long uint64_t; +#include "acess/intdefs.h" -typedef signed char int8_t; -typedef signed short int16_t; -typedef signed long int32_t; -typedef signed long long int64_t; +#define INT_MIN -0x80000000 +#define INT_MAX 0x7FFFFFFF -typedef uint32_t intptr_t; +typedef __uint8_t uint8_t; +typedef __uint16_t uint16_t; +typedef __uint32_t uint32_t; +typedef __uint64_t uint64_t; +typedef __int8_t int8_t; +typedef __int16_t int16_t; +typedef __int32_t int32_t; +typedef __int64_t int64_t; + +typedef __intptr_t intptr_t; +typedef __uintptr_t uintptr_t; + +//typedef uint64_t off_t; #endif