From: Katy Feng Date: Thu, 5 Oct 2023 17:35:28 +0000 (-0700) Subject: Change to common source file not applicable to open-vm-tools. X-Git-Tag: stable-12.4.0~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad9066280a11bfc8466747e4fa4d9f60e2d29df4;p=thirdparty%2Fopen-vm-tools.git Change to common source file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/panic/panic.c b/open-vm-tools/lib/panic/panic.c index 7dc244246..eb6fa07ac 100644 --- a/open-vm-tools/lib/panic/panic.c +++ b/open-vm-tools/lib/panic/panic.c @@ -542,7 +542,8 @@ Panic_Panic(const char *format, Panic_DumpGuiResources(); -#if (defined(_WIN32) || !defined(VMX86_TOOLS)) && !defined(__ANDROID__) && !(TARGET_OS_IPHONE) +#if (defined(_WIN32) || !defined(VMX86_TOOLS)) && !defined(__ANDROID__) && \ + !(TARGET_OS_IPHONE) && !defined(__EMSCRIPTEN__) if (Panic_GetCoreDumpOnPanic()) { CoreDump_CoreDump(); }