diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-23 15:16:37 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-23 15:16:37 +0200 |
commit | b5efe3ecbc1a00714ad6774d7e16b3d22b7cf43a (patch) | |
tree | c633d4e43489bc1515cd582b93b13a5fd23b0f5e /common/handle_error.cc | |
parent | 746d63f9fa7ffd7fcc5c460c04b65eccfbb3f205 (diff) | |
parent | 550866620acba97407e14dbc95ad5747d64ee3d6 (diff) | |
download | nextpnr-b5efe3ecbc1a00714ad6774d7e16b3d22b7cf43a.tar.gz nextpnr-b5efe3ecbc1a00714ad6774d7e16b3d22b7cf43a.tar.bz2 nextpnr-b5efe3ecbc1a00714ad6774d7e16b3d22b7cf43a.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'common/handle_error.cc')
-rw-r--r-- | common/handle_error.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/handle_error.cc b/common/handle_error.cc index 7076c188..a091f07e 100644 --- a/common/handle_error.cc +++ b/common/handle_error.cc @@ -1,3 +1,5 @@ +#ifndef NO_PYTHON + #include <Python.h> #include <boost/python.hpp> #include "nextpnr.h" @@ -61,3 +63,5 @@ std::string parse_python_exception() } NEXTPNR_NAMESPACE_END + +#endif // NO_PYTHON
\ No newline at end of file |