mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 00:19:26 +02:00
Remove unneeded Python includes
Inluding <compile.h> and <eval.h> has not been necessary since Python 2.4, since they are included via <Python.h>. Morever, <eval.h> is being removed in Python 3.11. So remove these includes. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/84884.1637723223%40sss.pgh.pa.us
This commit is contained in:
parent
216156fec3
commit
0d335cbd5c
@ -124,9 +124,6 @@ typedef int Py_ssize_t;
|
|||||||
#undef TEXTDOMAIN
|
#undef TEXTDOMAIN
|
||||||
#define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
|
#define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
|
||||||
|
|
||||||
#include <compile.h>
|
|
||||||
#include <eval.h>
|
|
||||||
|
|
||||||
/* put back our *printf macros ... this must match src/include/port.h */
|
/* put back our *printf macros ... this must match src/include/port.h */
|
||||||
#ifdef vsnprintf
|
#ifdef vsnprintf
|
||||||
#undef vsnprintf
|
#undef vsnprintf
|
||||||
|
Loading…
Reference in New Issue
Block a user