From: Andrew Bartlett Date: Thu, 6 Jun 2019 04:04:19 +0000 (+0200) Subject: py3: Remove unused PyInt_AsSsize_t macro from py3compat.h X-Git-Tag: ldb-2.0.5~423 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d4738ee3b220476a23b3e30962881dec2cf5f72;p=thirdparty%2Fsamba.git py3: Remove unused PyInt_AsSsize_t 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 Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Thu Jun 6 13:26:05 UTC 2019 on sn-devel-184 --- diff --git a/python/py3compat.h b/python/py3compat.h index 29ac76a6ce3..a131cbef368 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_AsSsize_t PyLong_AsSsize_t /* Module init */