Re: libpq++ on Windows - Mailing list pgsql-interfaces

From Peter Eisentraut
Subject Re: libpq++ on Windows
Date
Msg-id Pine.LNX.4.30.0107021954580.677-100000@peter.localdomain
Whole thread Raw
In response to Re: libpq++ on Windows  (Christian Ullrich <chris@chrullrich.de>)
Responses Re: libpq++ on Windows
List pgsql-interfaces
Christian Ullrich writes:

> Because the '#define DLLAPI' in config.h.in -- from which the
> config.h for Unix and Cygwin/Win32 builds is generated -- is
> necessary to make the compiler happy about the modifications
> to the class declarations.

Any given build will use exactly one of config.h.in or config.h.win32, so
you should decide which one you want to use.  Since so far native Win32
builds have used config.h.win32 (by manually copying it to config.h, and
not running configure at all), this is what you should do.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-interfaces by date:

Previous
From: Christian Ullrich
Date:
Subject: Re: libpq++ on Windows
Next
From: Christian Ullrich
Date:
Subject: Re: libpq++ on Windows