From 035d57cd137a4da176d9803bf80437d93f72e9f3 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Fri, 14 Jan 2022 12:02:32 -0800 Subject: [PATCH] USE_CPP14 branch doesn't work for wasm --- scipy/stats/_boost/include/Templated_PyUFunc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipy/stats/_boost/include/Templated_PyUFunc.hpp b/scipy/stats/_boost/include/Templated_PyUFunc.hpp index 7e37688d3..a048d05aa 100644 --- a/scipy/stats/_boost/include/Templated_PyUFunc.hpp +++ b/scipy/stats/_boost/include/Templated_PyUFunc.hpp @@ -7,7 +7,7 @@ // TODO: remove C++11 implementation when SciPy supports C++14 on all platforms #define USE_CPP14 (__cplusplus >= 201402L) -#if USE_CPP14 +#if USE_CPP14 && !defined(__wasm32__) && !defined(__wasm64__) #include #include -- 2.25.1