[Pkg-owncloud-commits] [owncloud-client] 265/498: Add cross platform definition for chdir and getcwd.

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit f98af43d3145fe475b3a2113b4eb8ec01e4627bf
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Jun 30 16:16:40 2015 +0200

    Add cross platform definition for chdir and getcwd.
---
 csync/src/std/c_private.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/csync/src/std/c_private.h b/csync/src/std/c_private.h
index 10cdf23..a761506 100644
--- a/csync/src/std/c_private.h
+++ b/csync/src/std/c_private.h
@@ -125,6 +125,8 @@ typedef  wchar_t         mbchar_t;
 #define _tchmod          _wchmod
 #define _trewinddir      _wrewinddir
 #define _tchown(X, Y, Z)  0 /* no chown on Win32 */
+#define _tchdir          _wchdir
+#define _tgetcwd         _wgetcwd
 #else
 typedef char           mbchar_t;
 #define _tdirent       dirent
@@ -144,6 +146,8 @@ typedef char           mbchar_t;
 #define _tchmod        chmod
 #define _trewinddir    rewinddir
 #define _tchown(X,Y,Z) chown(X,Y,Z)
+#define _tchdir        chdir
+#define _tgetcwd       getcwd
 #endif
 
 #ifdef WITH_ICONV

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list