From f3fec499ca9ee87e4d39ffab5b30c3920e22fa3c Mon Sep 17 00:00:00 2001 From: ToadKing Date: Thu, 7 Nov 2013 21:01:49 -0500 Subject: [PATCH] [GX] enable threads, build warning fixes --- Makefile.wii | 2 +- miscellaneous.h | 2 ++ thread.c | 4 ++-- thread/gx_pthread.h | 6 ++++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile.wii b/Makefile.wii index e2ab641304..67b79a1729 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -63,7 +63,7 @@ CFLAGS += -Iconsole/logger endif -CFLAGS += -std=gnu99 -DSINC_LOWER_QUALITY -DHAVE_RGUI -DRARCH_CONSOLE -DHAVE_LIBRETRO_MANAGEMENT -DHAVE_RARCH_EXEC -DGEKKO -DHAVE_ZLIB -DWANT_MINIZ -DHAVE_RARCH_MAIN_WRAP -DHAVE_RARCH_MAIN_IMPLEMENTATION -DHAVE_GRIFFIN=1 -DHAVE_SCREENSHOTS -Wno-char-subscripts +CFLAGS += -std=gnu99 -DSINC_LOWER_QUALITY -DHAVE_RGUI -DRARCH_CONSOLE -DHAVE_LIBRETRO_MANAGEMENT -DHAVE_RARCH_EXEC -DGEKKO -DHAVE_ZLIB -DWANT_MINIZ -DHAVE_RARCH_MAIN_WRAP -DHAVE_RARCH_MAIN_IMPLEMENTATION -DHAVE_GRIFFIN=1 -DHAVE_SCREENSHOTS -DHAVE_THREADS -Wno-char-subscripts ifeq ($(DEBUG), 1) CFLAGS += -O0 -g -DDEBUG diff --git a/miscellaneous.h b/miscellaneous.h index 351a997526..dbbdb79b16 100644 --- a/miscellaneous.h +++ b/miscellaneous.h @@ -21,6 +21,8 @@ #include #elif defined(XENON) #include