Update examples to build on Emscripten Wasm. Add separate wasm and wasm2js targets.

This commit is contained in:
Jukka Jylänki
2020-05-16 11:16:29 +03:00
committed by Бранимир Караџић
parent 0de0fa8ab8
commit 8d1e6bbe75
2 changed files with 21 additions and 12 deletions

View File

@@ -9,6 +9,8 @@
#include "allocator.h"
#include "mpscqueue.h"
#if BX_CONFIG_SUPPORTS_THREADING
namespace bx
{
///
@@ -87,4 +89,6 @@ namespace bx
} // namespace bx
#endif
#endif // BX_THREAD_H_HEADER_GUARD