diff options
-rw-r--r-- | source4/dsdb/pydsdb.c | 4 | ||||
-rw-r--r-- | source4/web_server/wsgi.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c index bdac7902aa..64b7266e72 100644 --- a/source4/dsdb/pydsdb.c +++ b/source4/dsdb/pydsdb.c @@ -34,10 +34,6 @@ typedef inquiry lenfunc; typedef intargfunc ssizeargfunc; #endif -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - /* FIXME: These should be in a header file somewhere, once we finish moving * away from SWIG .. */ #define PyErr_LDB_OR_RAISE(py_ldb, ldb) \ diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c index 03e12857c0..73e668ebfd 100644 --- a/source4/web_server/wsgi.c +++ b/source4/web_server/wsgi.c @@ -34,10 +34,6 @@ typedef inquiry lenfunc; typedef intargfunc ssizeargfunc; #endif -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - typedef struct { PyObject_HEAD struct websrv_context *web; |