AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.01.19 12:26 "Unicode build of libtiff?", by Dirk Haun
2000.01.19 17:42 "RE: Unicode build of libtiff?", by Richard J. Otter
2000.01.19 21:27 "RE: Unicode build of libtiff?", by Leonard Rosenthol
2000.01.19 23:13 "RE: Unicode build of libtiff?", by Bryan H. Maret
2000.01.20 07:25 "RE: Unicode build of libtiff?", by Leonard Rosenthol
2000.01.20 17:05 "RE: Unicode build of libtiff?", by Eric J. Schwertfeger
2000.01.21 07:52 "Re: Unicode build of libtiff?", by Bjorn Brox
2000.01.21 12:37 "RE: Unicode build of libtiff?", by John Aldridge
2000.01.21 14:00 "RE: Unicode build of libtiff?", by Martinez, Max
2000.01.24 10:50 "RE: Unicode build of libtiff?", by John Aldridge
2000.01.20 14:21 "RE: Unicode build of libtiff?", by Dirk Haun

2000.01.19 12:26 "Unicode build of libtiff?", by Dirk Haun

Hi,

has anyone done a unicode build of libtiff yet? I have just done the necessary modifications to the last version of libtiff supplied by Sam Leffler, when I found out that libtiff has moved ahead to version 3.5.4 since then. <doh>

So, obviously, I have to do it all again. I might be willing to send in my changes as a diff file so that others can profit but I have no idea how non-Windows platforms handle unicode.

Here's how MS does it:

Then, if you #define UNICODE, you get a unicode build. Otherwise, you get an ASCII/ANSI build just as before.

I guess this can all be handled with a couple of macros to put into the tif_<platform>.h files.

What do you think?

regards,

Dirk Haun
Dirk.Haun@yellow.de

Yellow Computing Computersysteme GmbH
Hanns-Martin-Schleyer-Strasse 1
D-74177 Bad Friedrichshall (Germany)
Phone +49-7136-9511-0
Fax +49-7136-9511-11
Web: http://www.yellow.de