From de3d18a0f649644e6e70202ad162863e1b57701d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 18 Feb 2017 00:10:32 -0800 Subject: [PATCH] Fixed Emscripten build. --- examples/common/bgfx_utils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/common/bgfx_utils.cpp b/examples/common/bgfx_utils.cpp index 3af6dd25e..d49cbc5c2 100644 --- a/examples/common/bgfx_utils.cpp +++ b/examples/common/bgfx_utils.cpp @@ -24,6 +24,9 @@ BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wtype-limits") BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-parameter") BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wunused-value") BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4100) // error C4100: '' : unreferenced formal parameter +#if BX_PLATFORM_EMSCRIPTEN +# include +#endif // BX_PLATFORM_EMSCRIPTEN #define MINIZ_NO_STDIO #define TINYEXR_IMPLEMENTATION #include