]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Consume VMware Tools Header files from Tools build.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:22 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:22 +0000 (11:23 -0700)
The 'tools' build component publishes the VMware Tools header file as
'vmtools_version.h'. All products / components which consume 'tools'
should be built with the header file published by the 'tools' build
instead of the one archived in the include directory.

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

index b92d066d0b5feb9931758b6761a99347fa2e0d8c..dbd9f0619fddf2aea00d628d041d8b7f0be71c97 100644 (file)
  *********************************************************/
 
 
+#ifdef USE_GOBUILD_TOOLS_VERSION
+
+#include "vmtools_version.h"
+
+#else
+
 #ifndef VM_TOOLS_VERSION_H
 #define VM_TOOLS_VERSION_H
 
@@ -1445,3 +1451,5 @@ TOOLS_VERSION_UINT_TO_COMPONENTS(const ToolsVersion toolsVersion,   // IN
    TOOLS_VERSION_CURRENT_STR "." PRODUCT_BUILD_NUMBER_NUMERIC_STRING
 
 #endif /* VM_TOOLS_VERSION_H */
+
+#endif /* USE_GOBUILD_TOOLS_VERSION */