Fix Win32/Cygwin problems:
authorBruce Momjian <bruce@momjian.us>
Sun, 25 Jun 2006 00:18:24 +0000 (00:18 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 25 Jun 2006 00:18:24 +0000 (00:18 +0000)
commit9bfc063ac2655026c038c67d2ebf9670d53f3b2e
treeff4c7c400ada2dc45d6d06c164ca690796943cf6
parent1618ceb498b83245a974aba02f1ecaf92fbd3ea6
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
src/include/pg_config.h.win32
src/include/port.h
src/pl/plpython/plpython.c
src/port/open.c