more on MSC and snprintf/strtoll/strtoull

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-22 04:48:11 +00:00
commit 7385a26ccd

View file

@ -342,10 +342,17 @@
%fragment("<stdio.h>","header") %{
#include <stdio.h>
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
# define snprintf _snprintf
#endif
%}
%fragment("<stdlib.h>","header") %{
#include <stdlib.h>
#ifdef _MSC_VER
# define strtoull _strtoui64
# define strtoll _strtoi64
#endif
%}
/* -----------------------------------------------------------------------------