Re: NetBSD/dtime_t

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: NetBSD/dtime_t
Дата
Msg-id 20080217184540.GC2249@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: NetBSD/dtime_t  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Feb 16, 2008 at 09:15:24AM -0500, Tom Lane wrote:
> Does it have to be a typedef, rather than a #define?
> I'm thinking that you could forcibly include sys/types.h
> and then it would be safe to #define dtime_t the way you want.

I just committed a patch that does more or less what you suggest.
Instead of #define'ing dtimt_t I let ecpg handle this. this actually is
code that was part of ecpg before I just put it back in and changed the
other header files some. Let's see if this helps.

Michael

-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Doubt in IndexScanDescData
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: Replacing time_t fields in pg_control and elsewhere