Commit db19667d authored by Max Bachmann's avatar Max Bachmann Committed by GitHub

Apply #3782 to all releases older than Visual Studio 2017 (GH-4357)

See https://github.com/cython/cython/pull/3782
parent 1461e514
......@@ -72,10 +72,10 @@ auto __Pyx_pythran_to_python(T &&value) -> decltype(to_python(
////////////// EnumClassDecl.proto //////////////////
#if defined (_MSC_VER)
#if PY_VERSION_HEX >= 0x03040000 && PY_VERSION_HEX < 0x03050000
#define __PYX_ENUM_CLASS_DECL
#else
#if _MSC_VER >= 1910
#define __PYX_ENUM_CLASS_DECL enum
#else
#define __PYX_ENUM_CLASS_DECL
#endif
#else
#define __PYX_ENUM_CLASS_DECL enum
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment