mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
compat: document S_I* defines when building for Windows
This commit is contained in:
@@ -60,6 +60,8 @@ typedef unsigned int SOCKET;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Windows doesn't define S_IRUSR or S_IWUSR. We define both
|
||||
// here, with the same values as glibc (see stat.h).
|
||||
#ifdef WIN32
|
||||
#ifndef S_IRUSR
|
||||
#define S_IRUSR 0400
|
||||
|
||||
Reference in New Issue
Block a user