Skip site navigation (1) Skip section navigation (2)

Re: How to set acrhive file directive?

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Quan Zongliang <quanzongliang(at)gmail(dot)com>
Cc: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: How to set acrhive file directive?
Date: 2009-11-10 09:31:20
Message-ID: 937d27e10911100131s4ed4c907pf3270c74ff9d4b65@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Mon, Nov 9, 2009 at 11:54 PM, Quan Zongliang <quanzongliang(at)gmail(dot)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

In response to

Responses

pgadmin-hackers by date

Next:From: Quan ZongliangDate: 2009-11-10 10:54:56
Subject: Re: How to set acrhive file directive?
Previous:From: Quan ZongliangDate: 2009-11-09 23:54:08
Subject: Re: How to set acrhive file directive?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group