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 | 28759.1092714997@sss.pgh.pa.us обсуждение |
| Ответ на |
Re: [pgsql-hackers-win32] libpq build problem with |
| Ответы |
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:
> The only other option I can think of is to #undef those to defines,
> include io.h, then re-include port.h? Is that better?
How about not #define'ing rename() etc in port.h in the first place?
We could put
#ifdef WIN32
#define rename(x) pgrename(x)
#endif
into those very few .c files that need it. (I'm assuming that
forgetting to include this in a file that calls rename() will yield an
obvious build failure on Windows --- if not then the idea is no good.)
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера