[Pkg-owncloud-commits] [owncloud-client] 156/498: csync: only define S_ defines if they are undefined.

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:45 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 758a820b0c3183034100324b876e4dd582deef83
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Jun 15 14:54:35 2015 +0200

    csync: only define S_ defines if they are undefined.
---
 csync/src/std/c_private.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/csync/src/std/c_private.h b/csync/src/std/c_private.h
index fb50e82..161d75f 100644
--- a/csync/src/std/c_private.h
+++ b/csync/src/std/c_private.h
@@ -41,10 +41,18 @@
 #ifdef _WIN32
 #define EDQUOT 0
 #define ENODATA 0
+#ifndef S_IRGRP
 #define S_IRGRP 0
+#endif
+#ifndef S_IROTH
 #define S_IROTH 0
+#endif
+#ifndef S_IXGRP
 #define S_IXGRP 0
+#endif
+#ifndef S_IXOTH
 #define S_IXOTH 0
+#endif
 
 #define S_IFSOCK 10000 /* dummy val on Win32 */
 #define S_IFLNK 10001  /* dummy val on Win32 */

-- 
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