Re: How to set acrhive file directive? - Mailing list pgadmin-hackers

From Dave Page
Subject Re: How to set acrhive file directive?
Date
Msg-id 937d27e10911100131s4ed4c907pf3270c74ff9d4b65@mail.gmail.com
Whole thread Raw
In response to Re: How to set acrhive file directive?  (Quan Zongliang <quanzongliang@gmail.com>)
Responses Re: How to set acrhive file directive?
List pgadmin-hackers
On Mon, Nov 9, 2009 at 11:54 PM, Quan Zongliang <quanzongliang@gmail.com> wrote:
>> No - it should get pulled in vi wx.h though, so you can test those macros.
> No, it didn't.
> I can't detect them now. Like:
> #if wxUSE_STREAMS || wxUSE_ZIPSTREAM || wxUSE_TARSTREAM
>    some codes
> #endif
> Always get false.

wx.h includes defs.h.
defs.h includes platform.h.
platform.h includes setup.h

iirc, there used to be a couple of copies of setup.h in a typical
tree. Maybe you have a default oen somewhere which is getting pulled
in instead of what you actually have.

Be aware though, that on many platforms (notably Linux), wx packages
may be provided by the OS vendor and will probably not have any
obscure options enabled, so don't write any code that requires
anything unusual.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PGDay.EU 2009 Conference: http://2009.pgday.eu/start

pgadmin-hackers by date:

Previous
From: Quan Zongliang
Date:
Subject: Re: How to set acrhive file directive?
Next
From: Quan Zongliang
Date:
Subject: Re: How to set acrhive file directive?