mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
csync: only define S_ defines if they are undefined.
This commit is contained in:
parent
e321280eae
commit
758a820b0c
1 changed files with 8 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue