Win32 VC++ build update patch

Started by Magnus Haganderabout 20 years ago2 messagespatches
Jump to latest
#1Magnus Hagander
magnus@hagander.net

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.

(GiST problems still remain)

//Magnus

Attachments:

win32vc_2.patchapplication/octet-stream; name=win32vc_2.patchDownload+21-10
#2Bruce Momjian
bruce@momjian.us
In reply to: Magnus Hagander (#1)
Re: Win32 VC++ build update patch

Patch applied. Thanks.

---------------------------------------------------------------------------

Magnus Hagander wrote:

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.

(GiST problems still remain)

//Magnus

Content-Description: win32vc_2.patch

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +