[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

Zachary Ware report at bugs.python.org
Thu Jul 16 16:14:53 CEST 2015


Zachary Ware added the comment:

I suppose we'll have to resort to 

#ifndef _Py_timezone
#if _MSC_VER >= 1900
#define _Py_timezone _timezone
#else
#define _Py_timezone timezone
#endif
#endif
...

----------
components: +Build, Windows -Extension Modules
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
stage:  -> needs patch
versions: +Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24643>
_______________________________________


More information about the Python-bugs-list mailing list