X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Facesskernel_src%2Finclude%2Farch.h;h=1307e0c6d85c49d27f47566aaa8167c1c491a6d1;hb=4e3d3dfaa9e9cd4f7a83416ea87e498b4836052e;hp=03474cf1381c0b3a2b5d204b6ac67fcab023fc47;hpb=d047958aaade97d65ed5d5ca6c3835c2699e1010;p=tpg%2Facess2.git diff --git a/AcessNative/acesskernel_src/include/arch.h b/AcessNative/acesskernel_src/include/arch.h index 03474cf1..1307e0c6 100644 --- a/AcessNative/acesskernel_src/include/arch.h +++ b/AcessNative/acesskernel_src/include/arch.h @@ -5,7 +5,6 @@ #include //#include -#include #undef CLONE_VM #define _MODULE_NAME_ "NativeKernel" @@ -29,10 +28,13 @@ typedef intptr_t tPAddr; typedef int BOOL; +#include +#undef NULL +#undef offsetof + struct sShortSpinlock { - int IsValid; - pthread_mutex_t Mutex; + void *Mutex; }; #define SHORTLOCK(...)