From 392bb8d7b143615d1e2f3ced3158928bff36decc Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Mon, 17 Sep 2012 07:41:11 +0200 Subject: [PATCH] allows building with python3 and without embedded module --- plugins/python/python_plugin.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 1bd165cb..94c0b017 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -530,8 +530,6 @@ next: #ifdef UWSGI_EMBEDDED PyDoc_STRVAR(uwsgi_py_doc, "uWSGI api module."); -#endif - #ifdef PYTHREE static PyModuleDef uwsgi_module3 = { @@ -546,7 +544,6 @@ PyObject *init_uwsgi3(void) { } #endif -#ifdef UWSGI_EMBEDDED void init_uwsgi_embedded_module() { PyObject *new_uwsgi_module, *zero; int i;