From: Katy Feng Date: Tue, 22 Aug 2023 22:51:19 +0000 (-0700) Subject: Change to common source file not applicable to open-vm-tools. X-Git-Tag: stable-12.3.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6584bcaa8c25da5ef0f20c7f6a17e6b173a25f2d;p=thirdparty%2Fopen-vm-tools.git Change to common source file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/misc/vthreadBase.c b/open-vm-tools/lib/misc/vthreadBase.c index 4616d7545..6f0d082d6 100644 --- a/open-vm-tools/lib/misc/vthreadBase.c +++ b/open-vm-tools/lib/misc/vthreadBase.c @@ -352,6 +352,8 @@ VThreadBase_GetKernelID(void) # endif // Best effort until FreeBSD header update return (uint64)(uintptr_t)(void *)pthread_self(); +#elif defined __EMSCRIPTEN__ + return (uint64)(uintptr_t)(void *)pthread_self(); #else # error "Unknown platform" #endif