summaryrefslogtreecommitdiffstats
path: root/external/boost/boost-emscripten-nowasm.patch.0
diff options
context:
space:
mode:
Diffstat (limited to 'external/boost/boost-emscripten-nowasm.patch.0')
-rw-r--r--external/boost/boost-emscripten-nowasm.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/boost/boost-emscripten-nowasm.patch.0 b/external/boost/boost-emscripten-nowasm.patch.0
new file mode 100644
index 0000000000..39723351e3
--- /dev/null
+++ b/external/boost/boost-emscripten-nowasm.patch.0
@@ -0,0 +1,11 @@
+--- 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"
+