From 38e469bc4af71f700b8f68fd913fe65abbde685e Mon Sep 17 00:00:00 2001 From: ur4t <46435411+ur4t@users.noreply.github.com> Date: Sun, 22 Oct 2023 02:25:50 +0800 Subject: [PATCH] Add `get_self_path_platform` for WebAssembly --- c/scheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/scheme.c b/c/scheme.c index 077b7829a..558b7fc4b 100644 --- a/c/scheme.c +++ b/c/scheme.c @@ -550,7 +550,7 @@ static char *get_self_path_platform() { } #endif -#if defined(__OpenBSD__) +#if defined(__OpenBSD__) || defined(__EMSCRIPTEN__) static char *get_self_path_platform() { return NULL; } #endif