Re: Compilation on Debian SID - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Compilation on Debian SID
Date
Msg-id CA+OCxoz3=KaQ13y_3TmOkLZp8amhVkXxQxoaczgP9rYYk4UpOA@mail.gmail.com
Whole thread Raw
In response to Re: Compilation on Debian SID  (Olly Betts <olly@survex.com>)
Responses Re: Compilation on Debian SID  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
On Sat, Nov 26, 2011 at 11:05 PM, Olly Betts <olly@survex.com> wrote:
> On Sat, Nov 26, 2011 at 08:18:31PM +0000, Dave Page wrote:
>>
> This isn't original wx code - a number of projects define equivalent
> macros (and often with the same names, which is where the problems lie
> when they do it in API headers and you want to use two or more such
> projects at once).
>
> So just find one with a licence that's compatible:

The irony is that on closer examination we don't actually need the
macro at all, as in a Unicode build of wxWidgets (pgAdmin requires
Unicode support), it gets defined away to nothing. So, the patch ends
up looking like the attached.

Guillaume, please give it a quick check in case I missed anything.

Thanks!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Compilation on Debian SID
Next
From: Olly Betts
Date:
Subject: Re: Compilation on Debian SID