3DS: Fix DISABLE_THREADING build
Jeffrey Pfau jeffrey@endrift.com
Sun, 03 Jan 2016 10:34:25 -0800
2 files changed,
6 insertions(+),
0 deletions(-)
M
src/util/threading.h
→
src/util/threading.h
@@ -22,7 +22,12 @@ #define DISABLE_THREADING
#endif #endif #ifdef DISABLE_THREADING +#ifdef _3DS +// ctrulib already has a type called Thread +#include <3ds/thread.h> +#else typedef void* Thread; +#endif typedef void* Mutex; typedef void* Condition;