From: John Hodge Date: Fri, 1 Feb 2013 04:54:19 +0000 (+0800) Subject: nativelib - Compilation fixes X-Git-Tag: rel0.15~595^2~2 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=231ca9b2dd165586b5d44a1e7b0459082d792ad7;p=tpg%2Facess2.git nativelib - Compilation fixes --- diff --git a/Tools/nativelib/include/threads_int.h b/Tools/nativelib/include/threads_int.h index 3e85232d..1b4ddac4 100644 --- a/Tools/nativelib/include/threads_int.h +++ b/Tools/nativelib/include/threads_int.h @@ -10,7 +10,9 @@ #include +#ifndef _THREADS_H_ typedef struct sThread tThread; +#endif #define THREAD_EVENT_RWLOCK (1 << 8) diff --git a/Tools/nativelib/threads_int.c b/Tools/nativelib/threads_int.c index 3b7b08a4..324b952d 100644 --- a/Tools/nativelib/threads_int.c +++ b/Tools/nativelib/threads_int.c @@ -14,7 +14,6 @@ #include // === TYPES === -typedef struct sThread tThread; struct sThreadIntMutex { int lock; }; struct sThreadIntSem { int val; };