Re: 7.4 include file conflict - Mailing list pgsql-hackers

From Dave Page
Subject Re: 7.4 include file conflict
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B8720274@mail.vale-housing.co.uk
Whole thread Raw
In response to 7.4 include file conflict  (Ray Aspeitia <aspeitia@sells.com>)
Responses Re: 7.4 include file conflict
List pgsql-hackers

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> Sent: 16 December 2003 01:17
> To: Ray Aspeitia
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] 7.4 include file conflict
>
>
> Where are we going on the pgsql/include file conflicts?
> sqltypes.h is very common on Win32, and decimal.h might be a
> problem too.  We even have compatlib.h.
>
> We can tell them to adjust the include path, but what do we do about
> win32 system includes that want the system sqltypes.h?

We could prefix the names as Ray suggested <pgsqltypes.h>, or move them
into a pg subdirectory and change the includes to <pg/sqltypes.h>.

The former is probably less work I'd guess.

Regards, Dave.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Oddness 7.3 vs 7.4
Next
From: "Peter Eisentraut"
Date:
Subject: Re: 7.4 include file conflict