##// END OF EJS Templates
exewrapper: avoid directly linking against python3X.dll...
Matt Harbison -
r48096:825d5a59 default
parent child Browse files
Show More
@@ -48,7 +48,7 b' int _tmain(int argc, TCHAR *argv[])'
48 int(__cdecl * Py_Main)(int argc, TCHAR *argv[]);
48 int(__cdecl * Py_Main)(int argc, TCHAR *argv[]);
49
49
50 #if PY_MAJOR_VERSION >= 3
50 #if PY_MAJOR_VERSION >= 3
51 Py_LegacyWindowsStdioFlag = 1;
51 _wputenv(L"PYTHONLEGACYWINDOWSSTDIO=1");
52 #endif
52 #endif
53
53
54 if (GetModuleFileName(NULL, pyscript, _countof(pyscript)) == 0) {
54 if (GetModuleFileName(NULL, pyscript, _countof(pyscript)) == 0) {
General Comments 0
You need to be logged in to leave comments. Login now