Skip to content

Commit 51b0656

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

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
@@ -43,7 +43,7 @@ module marshal
4343
*/
4444
#if defined(MS_WINDOWS)
4545
# define MAX_MARSHAL_STACK_DEPTH 1000
46-
#elif defined(__wasi__)
46+
#elif defined(__wasm__)
4747
# define MAX_MARSHAL_STACK_DEPTH 1500
4848
// TARGET_OS_IPHONE covers any non-macOS Apple platform.
4949
// It won't be defined on older macOS SDKs

0 commit comments

Comments
 (0)