Updated VC++ patch

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

Here's an updated version of the VC++ patch. Changes since last time:

* Moved _dosmaperr() to port (from backend/port), and use it in
dirent.c, per Qingqing. (so backend/port/win32/error.c should be deleted
now). Please double-check the configure.in change, because my autoconf
just won't cooperate on win32 :-(
This also adds a couple of #ifdef FRONTEND for the ereport calls.

* Change definition of NAN, per Tom.

* Change src/port/thread.c so it doesn't pull in pthread.h when building
the backend, since it doesn't use any thread-specific functions there
anyway.

Tom has already committed a fix for the other float8 problem.

//Magnus

Attachments:

vcbuild_newfiles.tar.gzapplication/x-gzip; name=vcbuild_newfiles.tar.gzDownload
vcbuild.patchapplication/octet-stream; name=vcbuild.patchDownload+865-840
#2Bruce Momjian
bruce@momjian.us
In reply to: Magnus Hagander (#1)
Re: Updated VC++ patch

Patch applied, adjusted version attached. Thanks.

This still needs the the build script to produce the project files.

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

Magnus Hagander wrote:

Here's an updated version of the VC++ patch. Changes since last time:

* Moved _dosmaperr() to port (from backend/port), and use it in
dirent.c, per Qingqing. (so backend/port/win32/error.c should be deleted
now). Please double-check the configure.in change, because my autoconf
just won't cooperate on win32 :-(
This also adds a couple of #ifdef FRONTEND for the ereport calls.

* Change definition of NAN, per Tom.

* Change src/port/thread.c so it doesn't pull in pthread.h when building
the backend, since it doesn't use any thread-specific functions there
anyway.

Tom has already committed a fix for the other float8 problem.

//Magnus

Content-Description: vcbuild.patch

[ Attachment, skipping... ]

Content-Description: vcbuild_newfiles.tar.gz

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

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

Attachments:

/bjm/difftext/x-diffDownload+872-836