Usermode/ld-acess - Fixing elf64 support (and x86-64)
[tpg/acess2.git] / Usermode / include / stdint.h
index 0e43363..6238a63 100644 (file)
@@ -6,12 +6,12 @@
 //typedef unsigned int uint;
 typedef unsigned char  uint8_t;
 typedef unsigned short uint16_t;
-typedef unsigned long  uint32_t;
+typedef unsigned int   uint32_t;
 typedef unsigned long long     uint64_t;
 
 typedef signed char            int8_t;
 typedef signed short   int16_t;
-typedef signed long            int32_t;
+typedef signed int             int32_t;
 typedef signed long long       int64_t;
 
 #ifdef __LP64__
@@ -27,5 +27,6 @@ typedef int32_t       ptrdiff_t;
 # error "Unknown pointer size"
 #endif
 
+typedef uint64_t       off_t;
 
 #endif

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