DLLIMPORT definition - Mailing list pgsql-hackers

From Magnus Hagander
Subject DLLIMPORT definition
Date
Msg-id 20070724112432.GC19199@svr2.hagander.net
Whole thread Raw
Responses Re: DLLIMPORT definition
List pgsql-hackers
The DLLIMPORT definition used on Win32 conflicts with the headers in TCL,
at least, and possibly others.

One way to fix it is similar to the HAVE_xyz ones that I talk about in my
other email. Another way to do it would be for us to use PGDLLIMPORT
instead of DLLIMPORT. That way we'd be sure not to conflict with any
*other* third party modules as well, which could happen if you have a
server-side module that links pg to something.

We seem to have a little over 100 entries of DLLIMPORT including comments
and the ecpg regression tests that duplicate it in the output files,
so it's not a huge thing to change.

Thoughts?

//Magnus


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Kerberos warnings on win32
Next
From: Zdenek Kotala
Date:
Subject: pgcrypto & strong ciphers limitation