aboutsummaryrefslogtreecommitdiffstats
path: root/common/pybindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/pybindings.cc')
-rw-r--r--common/pybindings.cc2
1 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)
{