From 8efd1074c21fde70a31756dd54b3b31811beccc8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 20 Sep 2010 12:16:09 -0700 Subject: s4-pyrpc: fixed build on python 2.4 Pair-Programmed-With: Jelmer Vernooij --- source4/librpc/rpc/pyrpc_util.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source4/librpc/rpc/pyrpc_util.c') diff --git a/source4/librpc/rpc/pyrpc_util.c b/source4/librpc/rpc/pyrpc_util.c index ba42c08154..33bce387af 100644 --- a/source4/librpc/rpc/pyrpc_util.c +++ b/source4/librpc/rpc/pyrpc_util.c @@ -31,10 +31,6 @@ #include "lib/messaging/messaging.h" #include "lib/messaging/irpc.h" -#ifndef Py_TYPE /* Py_TYPE is only available on Python > 2.6 */ -#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) -#endif - bool py_check_dcerpc_type(PyObject *obj, const char *module, const char *typename) { PyObject *mod; -- cgit