homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:24serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, Jeffrey.Armstrong
2014年02月11日 20:53:24serhiy.storchakasetmessageid: <1392152004.38.0.830311837609.issue20596@psf.upfronthosting.co.za>
2014年02月11日 20:53:24serhiy.storchakalinkissue20596 messages
2014年02月11日 20:53:24serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /