Re: Add unistd.h to c.h
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: Add unistd.h to c.h |
| Дата | |
| Msg-id | 4D7A53BA.3000808@enterprisedb.com обсуждение исходный текст |
| Ответ на | Re: Add unistd.h to c.h (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: Add unistd.h to c.h
|
| Список | pgsql-hackers |
On 11.03.2011 18:53, Bruce Momjian wrote: > Heikki Linnakangas wrote: >> On 11.03.2011 18:50, Bruce Momjian wrote: >>> Twenty percent of our C files include unistd.h. Should we include >>> unistd.h in c.h and remove mentions of unistd.h in files that include >>> c.h? >> >> Why? > > Well, that is one less C include file in 151 C files, and just one > additional line in c.h. It would make 80% of C files include unistd.h unnecessarily, slowing down compilation by some small margin. -1 -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: