Re: dynloader.h missing in prebuilt package for Windows? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: dynloader.h missing in prebuilt package for Windows?
Date
Msg-id CAB7nPqQrnw4fgV+y3FrDdOgZCJHe+qk8H-3S+NwZ4OGBZzSkxw@mail.gmail.com
Whole thread Raw
In response to Re: dynloader.h missing in prebuilt package for Windows?  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: dynloader.h missing in prebuilt package for Windows?
List pgsql-hackers
On Tue, Jan 5, 2016 at 2:50 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Tue, Jan 5, 2016 at 2:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Michael Paquier <michael.paquier@gmail.com> writes:
>>> The patch would put the buildfarm in red as it is incomplete anyway,
>>> with MSVC what is used instead of dynloader.h is
>>> port/dynloader/win32.h. Instead of this patch I would be incline to
>>> remove the #define stuff with dynloader.h that use WIN32_ONLY_COMPILER
>>> (see for example dfmgr.c) and just copy the header in include/. This
>>> way we use the same header for all platforms.
>>
>> Patch please?
>
> Sure, here you go. Bruce's patch simply forgot to copy the header file
> via Solution.pm, so installation just failed. The change of dfmgr.c is
> actually not mandatory but I think that as long as dynloader.h is
> copied in include/ we had better change that as well, and it makes the
> code cleaner.

By the way, it is definitely wiser to wait for after the release of
9.5.0 to push that or something similar...
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: dynloader.h missing in prebuilt package for Windows?
Next
From: Haribabu Kommi
Date:
Subject: Re: Function and view to retrieve WAL receiver status