Thread: pgsql: Fix Win32/Cygwin problems: After updating to the latest cvs, and

pgsql: Fix Win32/Cygwin problems: After updating to the latest cvs, and

From
momjian@postgresql.org (Bruce Momjian)
Date:
Log Message:
-----------
Fix Win32/Cygwin problems:

After updating to the latest cvs, and also building most of the addons
(like PLs), the following patch is neededf for win32 + Visual C++.

* Switch to use the new win32 semaphore code
* Rename win32_open to pgwin32_open. win32_open collides with symbols
defined in Perl. MingW didn't detect ig, MSVC did. And it's a bit too
generic a name to export globally, imho...
* Python defines some partially broken #pragmas in the headers when
doing a debug build. Workaround.

Magnus Hagander

Modified Files:
--------------
    pgsql/src/include:
        pg_config.h.win32 (r1.30 -> r1.31)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.win32.diff?r1=1.30&r2=1.31)
        port.h (r1.92 -> r1.93)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h.diff?r1=1.92&r2=1.93)
    pgsql/src/pl/plpython:
        plpython.c (r1.82 -> r1.83)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c.diff?r1=1.82&r2=1.83)
    pgsql/src/port:
        open.c (r1.12 -> r1.13)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/open.c.diff?r1=1.12&r2=1.13)