From 2de1617af3c0d1549c1a9444d217e1f46469d2f8 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Wed, 29 Jul 2015 00:14:15 -0500 Subject: [PATCH] Fix emscripten compiling. --- Makefile.libretro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 6db43416f..40d01d361 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -211,7 +211,8 @@ else ifneq (,$(findstring armv,$(platform))) # emscripten else ifeq ($(platform), emscripten) TARGET := $(TARGET_NAME)_libretro_emscripten.bc - DEFINES += -std=c99 + DEFINES += -std=gnu99 + DEFINES += -DHAVE_LOCALE # Windows else