mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
compat: document S_I* defines when building for Windows
This commit is contained in:
parent
203e682d22
commit
fb6db6fb0e
2 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,8 @@ typedef unsigned int SOCKET;
|
||||||
#endif
|
#endif
|
||||||
#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
|
#ifdef WIN32
|
||||||
#ifndef S_IRUSR
|
#ifndef S_IRUSR
|
||||||
#define S_IRUSR 0400
|
#define S_IRUSR 0400
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
#include <compat/compat.h>
|
||||||
#include <fs.h>
|
#include <fs.h>
|
||||||
#include <wallet/bdb.h>
|
#include <wallet/bdb.h>
|
||||||
#include <wallet/db.h>
|
#include <wallet/db.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue