Re: meson: Add support for building with precompiled headers
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: meson: Add support for building with precompiled headers |
| Дата | |
| Msg-id | 2550386.1665000554@sss.pgh.pa.us обсуждение |
| Ответ на | meson: Add support for building with precompiled headers (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: meson: Add support for building with precompiled headers
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> When using precompiled headers we cannot override macros in system headers
> from within .c files, as headers are already processed before the #define in
> the C file is reached.
> A few files #define FD_SETSIZE 1024 on windows, as the default is only 64. I
> am hesitant to change FD_SETSIZE globally on windows, due to
> src/backend/port/win32/socket.c using it to size on-stack arrays. Instead add
> -DFD_SETSIZE=1024 when building the specific targets needing it.
Color me confused, but how does it work to #define that from the command
line if it can't be overridden from within the program?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера