csync: only define S_ defines if they are undefined.

This commit is contained in:
Klaas Freitag 2015-06-15 14:54:35 +02:00
parent e321280eae
commit 758a820b0c

View file

@ -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 */