From 972852f335e1245614b2349a780de93b4d1d7bcb Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 10 Jan 2019 21:29:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4python=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a8/pyengine.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/a8/pyengine.cc b/a8/pyengine.cc index 9e1cf03..58526d5 100644 --- a/a8/pyengine.cc +++ b/a8/pyengine.cc @@ -5,6 +5,8 @@ #include #include +#ifdef A8_USE_PYTHON + #include static bool CallPyFunc(PyObject* py_module, @@ -280,3 +282,5 @@ __builtins__.export_global = export_global } } + +#endif