mirror of https://github.com/KLayout/klayout.git
MSVC build issue fixed in pya.cc
This commit is contained in:
parent
57b8826e2c
commit
8c2c888263
|
|
@ -204,7 +204,7 @@ PythonInterpreter::PythonInterpreter ()
|
|||
|
||||
wchar_t buffer[MAX_PATH];
|
||||
int len;
|
||||
if ((len = GetModuleFileName (NULL, buffer, MAX_PATH)) > 0) {
|
||||
if ((len = GetModuleFileNameW (NULL, buffer, MAX_PATH)) > 0) {
|
||||
|
||||
std::string inst_dir = tl::absolute_path (tl::to_string (std::wstring (buffer, len)));
|
||||
std::string path_file = tl::combine_path (inst_dir, ".python-paths.txt");
|
||||
|
|
|
|||
Loading…
Reference in New Issue