Include limits.h to get NAME_MAX on Unix.

This commit is contained in:
Georg Rudoy 2009-06-22 18:39:55 +00:00
parent 7bf5302e03
commit f69bf04108
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ inline int snprintf(char* buf, int len, char const* fmt, ...)
return vsnprintf_s(buf, len, _TRUNCATE, fmt, lp);
}
#define strtoll _strtoi64
#else
#include <limits.h>
#endif
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)