From ad301e6604fac825622949e909bc41ac145c826e Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Tue, 6 Mar 2018 03:12:25 +0100 Subject: [PATCH] [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: : 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. --- dll/3rdparty/libtiff/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/3rdparty/libtiff/CMakeLists.txt b/dll/3rdparty/libtiff/CMakeLists.txt index 9c57c2d1b37..6c28292ec1d 100644 --- a/dll/3rdparty/libtiff/CMakeLists.txt +++ b/dll/3rdparty/libtiff/CMakeLists.txt @@ -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