[wx-dev] tiff changes in trunk, tiffconf.h / tif_config.h ?
Stefan Csomor
csomor at advancedconcepts.ch
Mon Oct 22 04:59:06 PDT 2007
Hi
> Hmm, actually this probably means not that you shouldn't modify tiffconf.h
> under Mac but that I should also modify it under MSW... At least I don't
> see what else to do but this needs to be fixed: the programs using libtiff
> should presumably use the same HOST_BIGENDIAN setting as libtiff itself.
> Maybe it works now because we don't test for HOST_BIGENDIAN at all but at
> the very least this is very confusing...
>
> SC> in your opinion is it better to have
> SC>
> SC> #define HAVE_IO_H 1
> SC> #define HOST_FILLORDER FILLORDER_LSB2MSB
> SC>
> SC> ....
> SC>
> SC> #ifndef __BORLANDC__
> SC> #define lfind _lfind
> SC> #endif
> SC>
> SC> #ifdef __DARWIN__
> SC> #undef lfind
> SC> #undef HAVE_IO_H
> SC> #if __BIG_ENDIAN__
> SC> #undef HOST_FILLORDER
> SC> #define HOST_FILLORDER FILLORDER_MSB2LSB
> SC> #define WORDS_BIGENDIAN 1
> SC> #endif
> SC> #endif
> SC>
> SC> ?
>
> No, I think just
>
> #ifdef __DARWIN__
> #define HOST_FILLORDER FILLORDER_MSB2LSB
> ...
> #else
> #define HOST_FILLORDER FILLORDER_LSB2MSB
> ...
> #endif
>
ok, I'll change things accordingly, btw : when compiling I had to
realize that the only usable preproc truly defined always is __APPLE__
Best,
Stefan
More information about the wx-dev
mailing list