mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
compat: extract and document MAX_PATH
This commit is contained in:
parent
b63ddb7e6d
commit
203e682d22
1 changed files with 6 additions and 1 deletions
|
@ -65,9 +65,14 @@ typedef unsigned int SOCKET;
|
||||||
#define S_IRUSR 0400
|
#define S_IRUSR 0400
|
||||||
#define S_IWUSR 0200
|
#define S_IWUSR 0200
|
||||||
#endif
|
#endif
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
|
// Windows defines MAX_PATH as it's maximum path length.
|
||||||
|
// We define MAX_PATH for use on non-Windows systems.
|
||||||
|
#ifndef WIN32
|
||||||
#define MAX_PATH 1024
|
#define MAX_PATH 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#if !defined(ssize_t)
|
#if !defined(ssize_t)
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
|
|
Loading…
Add table
Reference in a new issue