Re: [pgsql-hackers-win32] libpq build problem with on MS VC++
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [pgsql-hackers-win32] libpq build problem with |
| Дата | |
| Msg-id | 28493.1092712872@sss.pgh.pa.us обсуждение |
| Ответ на |
Re: [pgsql-hackers-win32] libpq build problem with |
| Ответы |
Re: [pgsql-hackers-win32] libpq build problem with |
| Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, I have improved your comment and applied the patch. I mentioned the
> problem is only on MS C, but we might as well include io.h there on all
> Win32 platforms.
I am actually fairly uncomfortable with this solution. We learned the
hard way awhile back that we want to include postgres.h or siblings
*before* any system header file, because the system header files may
default to things we do not want otherwise. (Typical examples have to
do with 32-bit vs 64-bit file offsets.) Perhaps it will be okay to
violate that rule on this one specific file on this one specific
platform, but I would not bet on it.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера