Message211019
| Author |
serhiy.storchaka |
| Recipients |
Jeffrey.Armstrong, serhiy.storchaka, vstinner |
| Date |
2014年02月11日.20:53:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1392152004.38.0.830311837609.issue20596@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 */ |
|
History
|
|---|
| 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 |
|