Re: [HACKERS] pgsql: Move "#define inline __inline"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] pgsql: Move "#define inline __inline"
Дата
Msg-id 200608100239.k7A2dnM00230@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: Move "#define inline __inline" from port/win32.h to c.h because  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> momjian@postgresql.org (Bruce Momjian) writes:
> > Move "#define inline __inline" from port/win32.h to c.h because Win32
> > interface builds like libpq need it.
>
> Huh?  port/win32.h is #included by c.h (as pg_config_os.h), no?
> I don't see why it's necessary to clutter c.h with this
> platform-specific hack, when we have a perfectly fine mechanism
> for not doing that.

Right. I was wrong and the problem was that the inline define was
missing in the win32.h.  That has been fixed in a later commit.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix UNION/INTERSECT/EXCEPT so that when two inputs being merged
Следующее
От: gsmet@pgfoundry.org (User Gsmet)
Дата:
Сообщение: pgfouine - www: last fixes for 0.7