Re: pgsql: Add compat file for dynamically loading the functions that MinGW

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgsql: Add compat file for dynamically loading the functions that MinGW
Дата
Msg-id 4725E86D.2010802@hagander.net
обсуждение исходный текст
Ответ на Re: pgsql: Add compat file for dynamically loading the functions that MinGW  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> mha@postgresql.org (Magnus Hagander) writes:
>> Add compat file for dynamically loading the functions that MinGW is missing
>> the imports for. Add RegisterWaitForSingleObject() to the list of such
>> functions, which should take care of the current buildfarm breakage.
>
> Trivial stylistic complaint: shouldn't the _RegisterWaitForSingleObject
> variable be declared static?  IMHO variables (and functions) should
> always be static unless there is an explicit intent to access them from
> other modules.

Yup, it certainly should. Fixing. Thanks.

//Magnus

В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add compat file for dynamically loading the functions that MinGW
Следующее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Make variable static, per Tom.