aboutsummaryrefslogtreecommitdiffstats
path: root/common/emb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/emb.cc')
-rw-r--r--common/emb.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/emb.cc b/common/emb.cc
index 2e3379d5..27c5d6e1 100644
--- a/common/emb.cc
+++ b/common/emb.cc
@@ -5,6 +5,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
// Blog article: http://mateusz.loskot.net/?p=2819
+#ifndef NO_PYTHON
#include "emb.h"
#include <Python.h>
@@ -136,3 +137,5 @@ void reset_stdout()
void append_inittab() { PyImport_AppendInittab("emb", emb::PyInit_emb); }
} // namespace emb
+
+#endif // NO_PYTHON \ No newline at end of file