Message211019
The code can be a little more clear if use indentation in preprocessor directives:
#ifdef MS_WINDOWS
# ifdef _MSC_VER
# define Py_WCSTOK(x,y,z) wcstok_s(x,y,z)
# else
# ifdef __WATCOMC__
# define Py_WCSTOK(x,y,z) wcstok(x,y,z)
# else
# define Py_WCSTOK(x,y,z) wcstok(x,y)
# endif /* __WATCOMC__ */
# endif /* _MSC_VER */
#endif /* MS_WINDOWS */
Or may be even using #elif:
#ifdef MS_WINDOWS
# if defined(_MSC_VER)
# define Py_WCSTOK(x,y,z) wcstok_s(x,y,z)
# elif defined(__WATCOMC__)
# define Py_WCSTOK(x,y,z) wcstok(x,y,z)
# else
# define Py_WCSTOK(x,y,z) wcstok(x,y)
# endif
#endif /* MS_WINDOWS */ |
|
Date |
User |
Action |
Args |
2014-02-11 20:53:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, Jeffrey.Armstrong |
2014-02-11 20:53:24 | serhiy.storchaka | set | messageid: <1392152004.38.0.830311837609.issue20596@psf.upfronthosting.co.za> |
2014-02-11 20:53:24 | serhiy.storchaka | link | issue20596 messages |
2014-02-11 20:53:24 | serhiy.storchaka | create | |
|