daemon/socket_connection: only define S_IRWXG and S_IRWXO on demand

This commit is contained in:
Matthias Ringwald 2018-08-14 20:58:01 +02:00
parent aaef358bb1
commit 33845bfee4

View File

@ -84,7 +84,13 @@ struct sockaddr_un {
char sun_path[UNIX_PATH_MAX];
};
//
#endif
// has been missing on mingw32 in the past
#ifndef S_IRWXG
#define S_IRWXG 0
#endif
#ifndef S_IRWXO
#define S_IRWXO 0
#endif