TIFF and LibTiff Mail List Archive

2004.03.23 12:34 "[Tiff] Tiffiop.h and Win32 build problems", by Carl Collin

With a recent checkin (version 1.12) of tiffiop.h It looks like one cannot compile libtiff on Win32 due to the header file "unistd.h" not being found. Why was this added? Is it necessary? Should a #ifdef be placed around this code to keep it from being compiled on Win32?

"Beware of bugs in the above code;
  I have only proved it correct, not tried
  it" - Donald Knuth.