defines for snprintf and strtoll for windows

This commit is contained in:
Arvid Norberg 2009-04-06 17:15:19 +00:00
parent 2bb1772299
commit 426e653213
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ POSSIBILITY OF SUCH DAMAGE.
// this is the maximum number of characters in a
// path element / filename on windows
#define NAME_MAX 255
#define snprintf _snprintf_s
#define strtoll _strtoi64
#endif
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)