]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Get rid of convertutf and bsd_printf for all non-Win VMware Tools
authorOliver Kurth <okurth@vmware.com>
Fri, 5 Jan 2018 22:47:15 +0000 (14:47 -0800)
committerOliver Kurth <okurth@vmware.com>
Fri, 5 Jan 2018 22:47:15 +0000 (14:47 -0800)
The MsgFmt_* functions are referenced in a few utilities
related to VMware Tools. This change replaces the MsgFmt_*
with a stub. This also affects the Windows version.

open-vm-tools/lib/include/str.h

index cf58054a7f5bf43f79b452aa7bc15f77bf8a9176..d941680ccbe6fdf468bc1ccb253f47ae1d253c45 100644 (file)
@@ -69,7 +69,7 @@ extern "C" {
  * redistribution requirements for Debian.
  * <https://github.com/vmware/open-vm-tools/issues/148>
  */
-#if !defined(OPEN_VM_TOOLS)
+#if !defined(VMX86_TOOLS) || defined(_WIN32)
 #if (defined _WIN32 && !defined STR_NO_WIN32_LIBS) || \
     (defined __linux__ && !defined __UCLIBC__) || \
     defined __APPLE__
@@ -77,7 +77,6 @@ extern "C" {
 #endif
 #endif
 
-
 /*
  * ASCII/UTF-8 versions
  *