From 231ca9b2dd165586b5d44a1e7b0459082d792ad7 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 1 Feb 2013 12:54:19 +0800 Subject: [PATCH] nativelib - Compilation fixes --- Tools/nativelib/include/threads_int.h | 2 ++ Tools/nativelib/threads_int.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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; }; -- 2.20.1