Serhiy Storchaka added the comment: 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 */ ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com