git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AcessNative - Debugging and implementing, getting there now
[tpg/acess2.git]
/
Usermode
/
include
/
stdint.h
diff --git
a/Usermode/include/stdint.h
b/Usermode/include/stdint.h
index
ea837ba
..
adfb101
100644
(file)
--- a/
Usermode/include/stdint.h
+++ b/
Usermode/include/stdint.h
@@
-3,7
+3,7
@@
#ifndef _STDTYPES_H_
#define _STDTYPES_H_
#ifndef _STDTYPES_H_
#define _STDTYPES_H_
-
typedef unsigned int
uint;
+
//typedef unsigned int
uint;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
@@
-14,6
+14,15
@@
typedef signed short int16_t;
typedef signed long int32_t;
typedef signed long long int64_t;
typedef signed long int32_t;
typedef signed long long int64_t;
+#ifdef __LP64__
+typedef uint64_t intptr_t;
+typedef uint64_t uintptr_t;
+#else
typedef uint32_t intptr_t;
typedef uint32_t intptr_t;
+typedef uint32_t uintptr_t;
+#endif
+#if 0
+# error "Unknown pointer size"
+#endif
#endif
#endif
UCC
git Repository :: git.ucc.asn.au