more fixes to MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eee527b8b8
commit
0ee6a0446a
6 changed files with 21 additions and 8 deletions
|
|
@ -4,7 +4,10 @@
|
|||
|
||||
/* Add PyOS_snprintf for old Pythons */
|
||||
#if PY_VERSION_HEX < 0x02020000
|
||||
#define PyOS_snprintf snprintf
|
||||
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
|
||||
# define PyOS_snprintf _snprintf
|
||||
#else
|
||||
# define PyOS_snprintf snprintf
|
||||
#endif
|
||||
|
||||
/* A crude PyString_FromFormat implementation for old Pythons */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue