Removing -DHAVE_LOCALE for Haiku allows build

This commit is contained in:
kwyxz 2018-01-29 06:03:46 +00:00
parent be5b4b11a9
commit 356a58a95e

View File

@ -81,7 +81,13 @@ ifneq (,$(findstring unix,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,-version-script=link.T
DEFINES += -std=c99 -D_GNU_SOURCE -DHAVE_LOCALE
ifneq ($(findstring Haiku,$(shell uname -s)),)
# Haiku does not handle locales like Linux
DEFINES += -std=c99 -D_GNU_SOURCE
else
DEFINES += -std=c99 -D_GNU_SOURCE -DHAVE_LOCALE
endif
# Raspberry Pi 3
ifneq (,$(findstring rpi3,$(platform)))