Re: BUG #2665: VC++ 8 (Visual Studio 2005) - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #2665: VC++ 8 (Visual Studio 2005)
Date
Msg-id 200610030213.k932Dbo05650@momjian.us
Whole thread Raw
In response to Re: BUG #2665: VC++ 8 (Visual Studio 2005)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #2665: VC++ 8 (Visual Studio 2005)
List pgsql-bugs
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Interesting.  We have inline redefined in src/include/port/win32.h.  Can
> > you find out why you are not getting those redefined?
>
> AFAICS, all the "#ifdef WIN32_ONLY_COMPILER" code in win32.h is dead
> code, because c.h doesn't #define WIN32_ONLY_COMPILER until *after* it's
> included pg_config_os.h.  It would appear that most of it is indeed
> useless and should be removed.

Uh, I think we still do have reasons to test if we are using MSVC or
Borland C.  I think the #define should just be moved up in c.h.

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

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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2665: VC++ 8 (Visual Studio 2005)
Next
From: Tom Lane
Date:
Subject: Re: BUG #2665: VC++ 8 (Visual Studio 2005)