Thread: PostgreSQL/Win32 sqltypes.h conflict
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? Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Maybe I'm being a little simple-minded, but would it be a good idea to rename postgres's file to pg_sqltypes.h ? A pg_ prefix in front of generically-named files would probably save a lot of similar future headaches too (and not just with win32). -----Original Message----- From: pgsql-cygwin-owner@postgresql.org [mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Jason Tishler Sent: Friday, December 05, 2003 3:08 PM To: Pgsql-Cygwin Subject: [CYGWIN] PostgreSQL/Win32 sqltypes.h conflict 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? Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
This can probably be handled by playing with the path too, although i'm not sure what's the best approach. Sincerely, Reshat. ------------------------------------------------------------------------------------------- If you see my certificate with this message, you should be able to send me encrypted e-mail. Please consult your e-mail client for details if you would like to do that. Seth Rubin wrote: >Maybe I'm being a little simple-minded, but would it be a good idea to >rename postgres's file to pg_sqltypes.h ? A pg_ prefix in front of >generically-named files would probably save a lot of similar future >headaches too (and not just with win32). > >-----Original Message----- >From: pgsql-cygwin-owner@postgresql.org >[mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Jason Tishler >Sent: Friday, December 05, 2003 3:08 PM >To: Pgsql-Cygwin >Subject: [CYGWIN] PostgreSQL/Win32 sqltypes.h conflict > > >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? > >Thanks, >Jason > >-- >PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers >Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 > >---------------------------(end of broadcast)--------------------------- >TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > >---------------------------(end of broadcast)--------------------------- >TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > > >
Attachment
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 wouldbe 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