py3: Remove unused PyInt_AsSsize_t macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 04:04:19 +0000 (06:04 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 13:26:05 +0000 (13:26 +0000)
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 <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jun  6 13:26:05 UTC 2019 on sn-devel-184

python/py3compat.h

index 29ac76a6ce35eaab92da38bca99e3d022b7ff9c6..a131cbef3682014de0b8e316ff24146913b6ffbf 100644 (file)
@@ -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 */