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
Kernel - Fixed stupid bug in utf-8 code (mirrored in userland)
[tpg/acess2.git]
/
AcessNative
/
acesskernel_src
/
include
/
arch.h
diff --git
a/AcessNative/acesskernel_src/include/arch.h
b/AcessNative/acesskernel_src/include/arch.h
index
03474cf
..
1307e0c
100644
(file)
--- a/
AcessNative/acesskernel_src/include/arch.h
+++ b/
AcessNative/acesskernel_src/include/arch.h
@@
-5,7
+5,6
@@
#include <stdint.h>
//#include <stdlib.h>
#include <stdint.h>
//#include <stdlib.h>
-#include <pthread.h>
#undef CLONE_VM
#define _MODULE_NAME_ "NativeKernel"
#undef CLONE_VM
#define _MODULE_NAME_ "NativeKernel"
@@
-29,10
+28,13
@@
typedef intptr_t tPAddr;
typedef int BOOL;
typedef int BOOL;
+#include <stddef.h>
+#undef NULL
+#undef offsetof
+
struct sShortSpinlock
{
struct sShortSpinlock
{
- int IsValid;
- pthread_mutex_t Mutex;
+ void *Mutex;
};
#define SHORTLOCK(...)
};
#define SHORTLOCK(...)
UCC
git Repository :: git.ucc.asn.au