summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/patches/patch-am
blob: aa564a860d6a6894c1ef603401f84c1bc3f7a33f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-am,v 1.2 2008/08/31 06:36:48 scottr Exp $

--- lib/guestApp/guestApp.c.orig	2008-08-08 02:01:53.000000000 -0500
+++ lib/guestApp/guestApp.c
@@ -72,6 +72,7 @@ extern "C" {
  * intelligent for that platform as well.
  */
 
+#if !defined(GUESTAPP_TOOLS_INSTALL_PATH)
 #if defined(N_PLAT_NLM)
 #define GUESTAPP_TOOLS_INSTALL_PATH "SYS:\\ETC\\VMWTOOL"
 #elif defined(_WIN32)
@@ -79,6 +80,7 @@ extern "C" {
 #else
 #define GUESTAPP_TOOLS_INSTALL_PATH "/etc/vmware-tools"
 #endif
+#endif
 
 /*
  * An option name/value pair stored locally in the guest app.