Re: PostgreSQL/Win32 sqltypes.h conflict

Lists: pgsql-cygwin
From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: pgsql-cygwin(at)postgresql(dot)org (Pgsql-Cygwin)
Subject: Re: PostgreSQL/Win32 sqltypes.h conflict
Date: 2003-12-08 07:03:10
Message-ID: 2B15A239.3048B22F.00013D13@netscape.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Jason,

[...]
>It appears PostgreSQL's sqltypes.h conflicts with the Win32 version:
>
> http://cygwin.com/ml/cygwin/2003-12/msg00211.html
>
>Does anyone have any ideas on the best way to solve this problem?
[...]

As win32api libraries and headers are somehow "magic" in cygwin's case, being hardcoded in gcc's specs, the easiest way would be to alter the "--includedir" option to the configure command for the cygwin distro, to "--includedir=/usr/include/postgresql" or similar.

SLao

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455