From 839d5beb48057219a18551b90649dcfc1c8f0660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Benjamim?= Date: Sat, 30 Sep 2017 13:04:50 -0300 Subject: [PATCH] Use -DDISABLE_THREADING in all ports, see #73 --- Makefile.libretro | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index 8381836c0..ed48a93ca 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -194,7 +194,7 @@ else ifeq ($(platform), vita) TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = arm-vita-eabi-gcc$(EXE_EXT) AR = arm-vita-eabi-ar$(EXE_EXT) - PLATFORM_DEFINES := -DVITA -DCC_RESAMPLER -DPSP2 -DDISABLE_THREADING + PLATFORM_DEFINES := -DVITA -DCC_RESAMPLER -DPSP2 STATIC_LINKING = 1 DEFINES += -std=c99 @@ -212,7 +212,6 @@ else ifeq ($(platform), ctr) DEFINES += -std=c99 PLATFORM_DEFINES += -DUSE_VFS_3DS - CFLAGS += -DDISABLE_THREADING STATIC_LINKING = 1 # Xbox 360 @@ -260,7 +259,7 @@ else TARGET := $(TARGET_NAME)_libretro.dll CC = gcc SHARED := -shared -static-libgcc -static-libstdc++ -Wl,-no-undefined -Wl,-version-script=link.T - DEFINES += -std=c99 -DDISABLE_THREADING + DEFINES += -std=c99 endif @@ -272,7 +271,7 @@ else CFLAGS += -O3 endif -DEFINES += -DHAVE_STRNDUP -DHAVE_STRDUP +DEFINES += -DHAVE_STRNDUP -DHAVE_STRDUP -DDISABLE_THREADING include $(BUILD_DIR)/Makefile.common