From: Andrew Bartlett Date: Thu, 6 Jun 2019 04:02:02 +0000 (+0200) Subject: py3: Remove unused PyInt_AS_LONG macro from py3compat.h X-Git-Tag: ldb-2.0.5~425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e2e80a4d2b31055ec91316aed6fdb488b40f697;p=thirdparty%2Fsamba.git py3: Remove unused PyInt_AS_LONG macro from py3compat.h Now that we are no longer developing new py2/py3 compatible code we can remove any aspects of this header we do not use. This will make the eventual removal easier. Signed-off-by: Andrew Bartlett --- diff --git a/python/py3compat.h b/python/py3compat.h index 01559980f17..51ae049be15 100644 --- a/python/py3compat.h +++ b/python/py3compat.h @@ -87,7 +87,6 @@ #define PyInt_Check PyLong_Check #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong -#define PyInt_AS_LONG PyLong_AS_LONG #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask #define PyInt_AsSsize_t PyLong_AsSsize_t