[wx-dev] tiff changes in trunk, tiffconf.h / tif_config.h ?
Stefan Csomor
csomor at advancedconcepts.ch
Mon Oct 22 06:04:24 PDT 2007
Hi Dave
> Hi Stefan,
>> ok, I'll change things accordingly, btw : when compiling I had to
>> realize that the only usable preproc truly defined always is __APPLE__
>>
>
> Which compiler for OS X does not define __DARWIN__? Or are you still
> building for CarbonLib with CW sometimes?
yes, just for the sweet memories, at weekends ... ;-)
but seriously, it's gcc apparently, I couldn't believe it myself, I've
moved in the sources for the new libtiff into the xcode project on
trunk, changed the config as described - but got errors, so I googled
around and apparently the only constant guaranteed to be defined in gcc
on OS X was __APPLE__. Perhaps there is another completely logical
reason why __DARWIN__ didn't do the same as the test for __APPLE__, I
just wanted to mention it, because it really wasn't the first thing I
thought of when trying to fix the config ...
I also checked our own platform.h and we define __DARWIN__ if it is not
defined yet ...
Best,
Stefan
More information about the wx-dev
mailing list