]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Mon, 26 Jul 2010 18:19:38 +0000 (11:19 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 26 Jul 2010 18:19:38 +0000 (11:19 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/vm_basic_types.h

index a2d5f908395e7a5803e15e577c69838cbc9c0140..031f59b00166db253a3a99d831e5fb1c71f79fa3 100644 (file)
@@ -308,7 +308,11 @@ typedef int64 VmTimeVirtualClock;  /* Virtual Clock kept in CPU cycles */
 #elif defined __APPLE__
    /* Mac OS hosts use the same formatters for 32- and 64-bit. */
    #define FMT64 "ll"
-   #define FMTSZ "z"
+   #if KERNEL
+      #define FMTSZ "l"
+   #else
+      #define FMTSZ "z"
+   #endif
    #define FMTPD "l"
    #define FMTH ""
 #elif __GNUC__