Re: Visual Studio 2005, C-language function - avoiding hacks?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Visual Studio 2005, C-language function - avoiding hacks?
Дата
Msg-id 2106.1268028955@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Visual Studio 2005, C-language function - avoiding hacks?  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: Visual Studio 2005, C-language function - avoiding hacks?  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> writes:
> I'd like to propose to define PGALWAYSEXPORT macro:
>     #ifdef WIN32
>     #define PGALWAYSEXPORT  __declspec (dllexport)
>     #endif
> and modify PG_MODULE_MAGIC and PG_FUNCTION_INFO_V1 to use it
> instead of PGDLLEXPORT.

This seems like change for the sake of change.  The existing mechanism
works (as demonstrated by the fact that the contrib modules work on
Windows).  I don't think we should invent a new mechanism that won't be
backwards-compatible.
        regards, tom lane


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

Предыдущее
От: tomas@tuxteam.de
Дата:
Сообщение: Re: arithmetic about inet
Следующее
От: Takahiro Itagaki
Дата:
Сообщение: Re: Visual Studio 2005, C-language function - avoiding hacks?