From: Oliver Kurth Date: Tue, 17 Mar 2020 21:36:57 +0000 (-0700) Subject: Common source file change not applicable to open-vm-tools. X-Git-Tag: stable-11.1.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d014ec26c28c4d9379879270fb8704f8dce6b57;p=thirdparty%2Fopen-vm-tools.git Common source file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/file/filePosix.c b/open-vm-tools/lib/file/filePosix.c index 741510def..0cf874ebc 100644 --- a/open-vm-tools/lib/file/filePosix.c +++ b/open-vm-tools/lib/file/filePosix.c @@ -992,7 +992,7 @@ File_SetFilePermissions(const char *pathName, // IN: *----------------------------------------------------------------------------- */ -static Bool +Bool FilePosixGetParent(char **canPath) // IN/OUT: Canonical file path { char *pathName; @@ -1049,6 +1049,7 @@ File_GetParent(char **canPath) // IN/OUT: Canonical file path } +#if !defined(__APPLE__) || TARGET_OS_IPHONE /* *---------------------------------------------------------------------- * @@ -1068,7 +1069,7 @@ File_GetParent(char **canPath) // IN/OUT: Canonical file path *---------------------------------------------------------------------- */ -static Bool +Bool FileGetStats(const char *pathName, // IN: Bool doNotAscend, // IN: struct statfs *pstatfsbuf) // OUT: @@ -1139,6 +1140,7 @@ File_GetFreeSpace(const char *pathName, // IN: File name return ret; } +#endif #if defined(VMX86_SERVER) @@ -1601,6 +1603,7 @@ File_SupportsOptimisticLock(const char *pathName) // IN: } +#if !defined(__APPLE__) || TARGET_OS_IPHONE /* *---------------------------------------------------------------------- * @@ -1643,6 +1646,7 @@ File_GetCapacity(const char *pathName) // IN: Path name return ret; } +#endif /*