fix missing endif
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
db67a26473
commit
6f263ce7cf
1 changed files with 4 additions and 3 deletions
|
|
@ -4,10 +4,11 @@
|
||||||
|
|
||||||
/* Add PyOS_snprintf for old Pythons */
|
/* Add PyOS_snprintf for old Pythons */
|
||||||
#if PY_VERSION_HEX < 0x02020000
|
#if PY_VERSION_HEX < 0x02020000
|
||||||
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
|
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
|
||||||
# define PyOS_snprintf _snprintf
|
# define PyOS_snprintf _snprintf
|
||||||
#else
|
# else
|
||||||
# define PyOS_snprintf snprintf
|
# define PyOS_snprintf snprintf
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* A crude PyString_FromFormat implementation for old Pythons */
|
/* A crude PyString_FromFormat implementation for old Pythons */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue