mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
...
This commit is contained in:
parent
b4cfdbbf32
commit
2fdf4de2f6
@ -319,7 +319,7 @@ void initialize_interpreter(wchar_t *outr, wchar_t *errr,
|
|||||||
flag = (int*)GetProcAddress(dll, "Py_NoUserSiteDirectory");
|
flag = (int*)GetProcAddress(dll, "Py_NoUserSiteDirectory");
|
||||||
if (!flag) ExitProcess(_show_error(L"Failed to get user_site flag", L"", 1));
|
if (!flag) ExitProcess(_show_error(L"Failed to get user_site flag", L"", 1));
|
||||||
*flag = 1;
|
*flag = 1;
|
||||||
flag = (int*)GetProcAddress(dll, "Py_HashRandomizationFlag ");
|
flag = (int*)GetProcAddress(dll, "Py_HashRandomizationFlag");
|
||||||
if (!flag) ExitProcess(_show_error(L"Failed to get hash randomization flag", L"", 1));
|
if (!flag) ExitProcess(_show_error(L"Failed to get hash randomization flag", L"", 1));
|
||||||
*flag = 1;
|
*flag = 1;
|
||||||
flag = (int*)GetProcAddress(dll, "Py_VerboseFlag");
|
flag = (int*)GetProcAddress(dll, "Py_VerboseFlag");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user