[LIBTIFF] Print errors to the console instead of in a MessageBox.

This is a temporary fix for a timeout in windowscodecs:tiffformat.
The test ends up invoking Win32ErrorHandler with:
_TIFFVSetField: <IStream object>: Bad value 0 for "ResolutionUnit" tag.

Ideally we'd keep the MessageBox version of the error/warning handlers but
make them respect the current error mode to avoid blocking tests and other
non-interactive applications.
This commit is contained in:
Thomas Faber 2018-03-06 03:12:25 +01:00
parent 4a93fbcd97
commit ad301e6604
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -2,7 +2,8 @@
add_definitions(
-DWIN32
-DNDEBUG
-DUSE_WIN32_FILEIO)
-DUSE_WIN32_FILEIO
-DTIF_PLATFORM_CONSOLE)
include_directories(
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libtiff