diff options
-rw-r--r-- | common/pybindings.cc | 2 | ||||
-rw-r--r-- | tests/generic/main.cc (renamed from tests/dummy/main.cc) | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index 64055755..1a0eba8f 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -151,7 +151,9 @@ BOOST_PYTHON_MODULE(MODULE_NAME) arch_wrap_python(); } +#ifdef MAIN_EXECUTABLE static wchar_t *program; +#endif void init_python(const char *executable, bool first) { diff --git a/tests/dummy/main.cc b/tests/generic/main.cc index a2634711..a2634711 100644 --- a/tests/dummy/main.cc +++ b/tests/generic/main.cc |