define NAME_MAX on windows
This commit is contained in:
parent
0e9bf1e7cf
commit
a41cf27e32
|
@ -90,5 +90,11 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define TORRENT_USE_WPATH 0
|
#define TORRENT_USE_WPATH 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef TORRENT_WINDOWS
|
||||||
|
// this is the maximum number of characters in a
|
||||||
|
// path element / filename on windows
|
||||||
|
#define NAME_MAX 255
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // TORRENT_CONFIG_HPP_INCLUDED
|
#endif // TORRENT_CONFIG_HPP_INCLUDED
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue