| От | Andrew Dunstan |
|---|---|
| Тема | plperl header fix and rationalisation |
| Дата | |
| Msg-id | 43C123BF.6020205@dunslane.net обсуждение исходный текст |
| Ответы |
Re: plperl header fix and rationalisation
|
| Список | pgsql-hackers |
The perl headers on Win32 try to hijack stdio and lots of other stuff (like getenv). This is annoying, as it generates lots of warnings, and probably dangerous as well. To inhibit that we would need to set a flag before the header inclusion, thus: #ifdef WIN32 #define WIN32IO_IS_STDIO #endif It turns out that we would need to put that in three places (plperl.c, SPI.xs and spi_internal.h). I propose to rationalise header file use somewhat, by creating plperl.h, and removing spi_internal.h. plperl.h will do the above, include all the necessary perl header files, and define the spi_internal routines. Comments? cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера