aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-11 08:05:42 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-11 08:05:42 +0200
commit2ad355ebeb00d9698efe2bb910a500e401f5d50b (patch)
tree763564a2e0f17c7e1ed9ee8a21bf79422b5ee49c /common
parentbfc47e9cd4512a503266c3f9cbe8841ed6136580 (diff)
downloadnextpnr-2ad355ebeb00d9698efe2bb910a500e401f5d50b.tar.gz
nextpnr-2ad355ebeb00d9698efe2bb910a500e401f5d50b.tar.bz2
nextpnr-2ad355ebeb00d9698efe2bb910a500e401f5d50b.zip
Renamed dummy->generic for tests, also fix warning
Diffstat (limited to 'common')
-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)
{