| От | Tom Lane |
|---|---|
| Тема | Re: problem with msvc linker - cannot build orafce |
| Дата | |
| Msg-id | 14758.1448429762@sss.pgh.pa.us обсуждение |
| Ответ на | Re: problem with msvc linker - cannot build orafce (Craig Ringer <craig@2ndquadrant.com>) |
| Ответы |
Re: problem with msvc linker - cannot build orafce
|
| Список | pgsql-hackers |
Craig Ringer <craig@2ndquadrant.com> writes:
> Actually, if __declspec(dllexport) or a .DEF entry was added in, say,
> 9.4.5, you could probably just:
> #if PG_VERSION_NUM < 90405
> extern int* log_min_messages_p;
> #define log_min_messages (*log_min_messages_p)
> #endif
> after including all PostgreSQL headers. It won't work for inline functions
> defined in PostgreSQL headers, but should otherwise be OK I think.
Some of these workarounds look like they would break if we add the missing
PGDLLIMPORT in future releases. That would be nasty :-(. Am I misreading
it?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера