From 758a820b0c3183034100324b876e4dd582deef83 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Mon, 15 Jun 2015 14:54:35 +0200 Subject: [PATCH] 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 fb50e82c8..161d75fc5 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 */