X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Fstdint.h;h=477f8ebd97b730ff32cf1821c2bf60d80cc2c1d2;hb=e7dd0e094f0c23bb20ddb0025f41d1c0c28f5ab2;hp=f2707aa49e0150786654c8537e3b1c41f1cf6c06;hpb=11686aa86bc0adae2555aa7796fe229770bb02f7;p=tpg%2Facess2.git diff --git a/Usermode/include/stdint.h b/Usermode/include/stdint.h index f2707aa4..477f8ebd 100644 --- a/Usermode/include/stdint.h +++ b/Usermode/include/stdint.h @@ -14,15 +14,18 @@ typedef signed int int32_t; typedef signed long long int64_t; #if ARCHDIR_is_x86 -typedef uint32_t intptr_t; +typedef int32_t intptr_t; typedef uint32_t uintptr_t; #elif ARCHDIR_is_x86_64 -typedef uint64_t intptr_t; +typedef int64_t intptr_t; typedef uint64_t uintptr_t; +#elif ARCHDIR_is_armv7 +typedef int32_t intptr_t; +typedef uint32_t uintptr_t; #else # error "Unknown pointer size" #endif -typedef uint64_t off_t; +//typedef uint64_t off_t; #endif