(database task standalone) Add HAVE_THREADS

This commit is contained in:
twinaphex 2019-05-22 04:28:11 +02:00
parent 138a070ceb
commit 6c1310ca06

View File

@ -1,11 +1,12 @@
compiler := gcc
extra_flags :=
use_neon := 0
release := release
EXE_EXT :=
TARGET := database_task
HAVE_ZLIB := 1
HAVE_7ZIP := 1
compiler := gcc
extra_flags :=
use_neon := 0
release := release
EXE_EXT :=
TARGET := database_task
HAVE_ZLIB := 1
HAVE_7ZIP := 1
HAVE_THREADS := 1
ifeq ($(platform),)
platform = unix
@ -157,6 +158,12 @@ SOURCES_C += $(DEPS_DIR)/7zip/7zIn.c \
$(DEPS_DIR)/7zip/7zBuf.c
endif
ifeq ($(HAVE_THREADS), 1)
SOURCES_C += \
$(LIBRETRO_COMM_DIR)/rthreads/rthreads.c
DEFINES += -DHAVE_THREADS
endif
flags := $(INCDIRS)
INCFLAGS := $(INCDIRS)