Re: python header puzzle

2021-01-01 Thread Marco Atzeri via Cygwin
On 02.01.2021 03:13, Lemures Lemniscati via Cygwin wrote: On Sat, 02 Jan 2021 07:30:05 +0900, Lemures Lemniscati On Fri, 1 Jan 2021 19:33:03 +0100, Marco Atzeri via Cygwin Hi All, trying to build postgresql 12.X with python3 interface, I hit an interesting issue A cygport file is attached

Re: python header puzzle

2021-01-01 Thread Lemures Lemniscati via Cygwin
On Sat, 02 Jan 2021 07:30:05 +0900, Lemures Lemniscati > On Fri, 1 Jan 2021 19:33:03 +0100, Marco Atzeri via Cygwin > > Hi All, > > > > trying to build postgresql 12.X with python3 interface, I hit an > > interesting issue > > > > all headers > > /usr/include/python{3.6-3.8}/pyport.h > > > > are

Re: python header puzzle

2021-01-01 Thread Lemures Lemniscati via Cygwin
On Fri, 1 Jan 2021 19:33:03 +0100, Marco Atzeri via Cygwin > Hi All, > > trying to build postgresql 12.X with python3 interface, I hit an > interesting issue > > all headers > /usr/include/python{3.6-3.8}/pyport.h > > are including > > # if defined(__CYGWIN__) > #

python header puzzle

2021-01-01 Thread Marco Atzeri via Cygwin
Hi All, trying to build postgresql 12.X with python3 interface, I hit an interesting issue all headers /usr/include/python{3.6-3.8}/pyport.h are including # if defined(__CYGWIN__) # define PyMODINIT_FUNC __declspec(dllexport) PyObject* #