From f96b7ac3cb557164f3199ddef6d4939ea5aca4d6 Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Tue, 9 Jul 2019 12:48:25 -0700 Subject: [PATCH] don't disable log output with emscripten (also doesn't build otherwise) --- src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.cpp b/src/debug.cpp index 8737502..623a221 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -74,7 +74,7 @@ namespace bx # else NSLog(__CFStringMakeConstantString("%s"), _out); # endif // defined(__OBJC__) -#elif 0 // BX_PLATFORM_EMSCRIPTEN +#elif BX_PLATFORM_EMSCRIPTEN emscripten_log(EM_LOG_CONSOLE, "%s", _out); #else fputs(_out, stdout);