Re: NetBSD/dtime_t

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, Kris Jurka <books(at)ejurka(dot)com>, PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: NetBSD/dtime_t
Date: 2008-02-17 18:45:40
Message-ID: 20080217184540.GC2249@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2008-02-17 19:05:25 Re: Replacing time_t fields in pg_control and elsewhere
Previous Message Gregory Stark 2008-02-17 17:03:32 Re: Doubt in IndexScanDescData