forked from premiere/premiere-libtorrent
Include limits.h to get NAME_MAX on Unix.
This commit is contained in:
parent
7bf5302e03
commit
f69bf04108
|
@ -127,6 +127,8 @@ inline int snprintf(char* buf, int len, char const* fmt, ...)
|
||||||
return vsnprintf_s(buf, len, _TRUNCATE, fmt, lp);
|
return vsnprintf_s(buf, len, _TRUNCATE, fmt, lp);
|
||||||
}
|
}
|
||||||
#define strtoll _strtoi64
|
#define strtoll _strtoi64
|
||||||
|
#else
|
||||||
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)
|
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)
|
||||||
|
|
Loading…
Reference in New Issue