]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common header file not applicable to open-vm-tools.
authorKaty Feng <fkaty@vmware.com>
Thu, 5 Oct 2023 17:35:28 +0000 (10:35 -0700)
committerKaty Feng <fkaty@vmware.com>
Thu, 5 Oct 2023 17:35:28 +0000 (10:35 -0700)
open-vm-tools/lib/include/vm_basic_types.h

index 70c02aeafe6fc53058702fdf1954d33a9f205b6b..0a36e324630411988f1ae7e691b39b127599d057 100644 (file)
@@ -392,8 +392,8 @@ typedef int64 VmTimeVirtualClock;  /* Virtual Clock kept in CPU cycles */
       #define FMTPD      "I"
       #define FMTH       "I"
    #endif
-#elif defined __APPLE__ || (!defined VMKERNEL && \
-                            defined __linux__ && defined __KERNEL__)
+#elif defined __APPLE__ || defined __EMSCRIPTEN__ || \
+      (!defined VMKERNEL && defined __linux__ && defined __KERNEL__)
    /* semi-LLP64 targets; 'long' is 64-bit, but uint64_t is 'long long' */
    #define FMT64         "ll"
    #if defined(__APPLE__) && KERNEL