Re: [HACKERS] src/interfaces/libpq shipping nmake-related Makefiles - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] src/interfaces/libpq shipping nmake-related Makefiles
Date
Msg-id CAB7nPqTjoMs9AWdTdJ+1-2ACPaxZQd0PAOR4z615xiTVo1M3xg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] src/interfaces/libpq shipping nmake-related Makefiles  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] src/interfaces/libpq shipping nmake-related Makefiles
List pgsql-hackers
On Tue, Apr 11, 2017 at 1:45 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>>>>> Are these votes for getting rid of both win32.mak and bcc32.mak?
>
>> PFA a patch that does this. Did I miss something? :)
>
> Perhaps we should get rid of the WIN32_ONLY_COMPILER symbol altogether;
> given this patch, "#ifdef WIN32_ONLY_COMPILER" could be replaced by
> "#ifdef _MSC_VER".

That's here in the patch for people wondering:
-#if defined(_MSC_VER) || defined(__BORLANDC__)
+#if defined(_MSC_VER)#define WIN32_ONLY_COMPILER#endif
+1 for the renaming.

> Or maybe rename it to something else --- I'm not sure what, but
> I've always found that symbol rather confusing.

No complains here as well. Thanks for the patch.
-- 
Michael



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: [HACKERS] error handling in RegisterBackgroundWorker
Next
From: Osahon Oduware
Date:
Subject: [HACKERS] PostGIS Out-DB Raster Not Behaving As Expected