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
Fix clean all script for renamed armv7 arch
[tpg/acess2.git]
/
Usermode
/
include
/
stdint.h
diff --git
a/Usermode/include/stdint.h
b/Usermode/include/stdint.h
index
c7ff8fc
..
0e44f14
100644
(file)
--- a/
Usermode/include/stdint.h
+++ b/
Usermode/include/stdint.h
@@
-1,28
+1,31
@@
/*
*/
/*
*/
-#ifndef _STD
TYPES
_H_
-#define _STD
TYPES
_H_
+#ifndef _STD
INT
_H_
+#define _STD
INT
_H_
-typedef unsigned int uint;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
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 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;
typedef signed long long int64_t;
-#if __LP64__
-typedef uint64_t intptr_t;
+#if ARCHDIR_is_x86
+typedef int32_t intptr_t;
+typedef uint32_t uintptr_t;
+#elif ARCHDIR_is_x86_64
+typedef int64_t intptr_t;
typedef uint64_t uintptr_t;
typedef uint64_t uintptr_t;
+#elif ARCHDIR_is_armv7
+typedef int32_t intptr_t;
+typedef uint32_t uintptr_t;
#else
#else
-typedef uint32_t intptr_t;
-typedef uint32_t uintptr_t;
-#endif
-#if 0
# error "Unknown pointer size"
#endif
# error "Unknown pointer size"
#endif
+typedef uint64_t off_t;
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au