]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common source file not applicable to open-vm-tools.
authorKaty Feng <fkaty@vmware.com>
Tue, 22 Aug 2023 22:51:19 +0000 (15:51 -0700)
committerKaty Feng <fkaty@vmware.com>
Tue, 22 Aug 2023 22:51:19 +0000 (15:51 -0700)
open-vm-tools/lib/misc/vthreadBase.c

index 4616d754565b99391fb332bda5f7faaa090d1101..6f0d082d6e96aefea2972d9c40b7acdece7f02a8 100644 (file)
@@ -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