python - be: Rearrange includes to help compile on win32.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Rearrange includes to help compile on win32.
Date: 2005-05-27 20:58:37
Message-ID: 20050527205837.5CE30112608E@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Rearrange includes to help compile on win32. Python includes windows, doing so
after including PostgreSQL headers seems to clobber ERROR. Use some
Py_DEC/INCREF instead of INCREF/DECREF. Win32 seems to have some macros callsed
INCREF/DECREF; however, being sure to include pgpy/environment last seems to
alleviate the problem.

Modified Files:
--------------
be/src:
pl.c (r1.13 -> r1.14)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.13&r2=1.14)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2005-05-27 21:00:02 python - be: Remove VOID it due to conflict and unuse.
Previous Message James William Pye 2005-05-27 20:57:25 python - be: Allow local include and library directories to be specified