Skip to content

Commit d3cdd16

Browse files
committed
Use __wasm__ in marshal.c now that mimalloc no longer defines __wasi__ on Emscripten (from GH-159039)
1 parent 265f0fb commit d3cdd16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/marshal.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module marshal
4444
*/
4545
#if defined(MS_WINDOWS)
4646
# define MAX_MARSHAL_STACK_DEPTH 1000
47-
#elif defined(__wasi__)
47+
#elif defined(__wasm__)
4848
# define MAX_MARSHAL_STACK_DEPTH 1500
4949
// TARGET_OS_IPHONE covers any non-macOS Apple platform.
5050
// It won't be defined on older macOS SDKs

0 commit comments

Comments
 (0)