mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
SF bug #495548: troublesome #define in pyport.h
Removed the ancient "#define ANY void". Bugfix candidate? Hard call. The bug report claims the existence of this #define creates conflicts with other packages, which is easy to believe. OTOH, some extension authors may still be relying on its presence. I'm afraid you can't win on this one.
This commit is contained in:
parent
54b11918be
commit
10a3bb53a8
2 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,6 @@ Used in: LONG_LONG
|
|||
|
||||
|
||||
/* For backward compatibility only. Obsolete, do not use. */
|
||||
#define ANY void
|
||||
#ifdef HAVE_PROTOTYPES
|
||||
#define Py_PROTO(x) x
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue