office-gobmx/external/boost/boost-emscripten-nowasm.patch.0
Jan-Marek Glogowski e76c7cf178 WASM boost: fix build with Emscripten
boost probably expects a WASI, not Emscripten.

Change-Id: I7f275e1b501d6ea46d43637be815bf5a45b1cc40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128586
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-19 10:51:14 +01:00

11 lines
455 B
Text

--- boost/config/detail/select_platform_config.hpp.orig 2021-11-13 18:32:09.446182220 +0100
+++ boost/config/detail/select_platform_config.hpp 2021-11-13 18:32:57.734041110 +0100
@@ -89,7 +89,7 @@
// Nuxi CloudABI:
# define BOOST_PLATFORM_CONFIG "boost/config/platform/cloudabi.hpp"
-#elif defined (__wasm__)
+#elif defined (__wasm__) && !defined (__EMSCRIPTEN__)
// Web assembly:
# define BOOST_PLATFORM_CONFIG "boost/config/platform/wasm.hpp"