deploy-ng: fix missing Py_DecodeLocale definition error

This commit is contained in:
rdb 2016-12-06 02:32:08 +01:00
parent 4335e3759a
commit 0002030e86

View File

@ -9,6 +9,10 @@
#if PY_MAJOR_VERSION >= 3
#include <locale.h>
#if PY_MINOR_VERSION < 5
#define Py_DecodeLocale _Py_char2wchar
#endif
#endif
#ifdef MS_WINDOWS