https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ad301e6604fac82562294…
commit ad301e6604fac825622949e909bc41ac145c826e
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Tue Mar 6 03:12:25 2018 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Tue Mar 6 03:12:31 2018 +0100
[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.
---
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 9c57c2d1b3..6c28292ec1 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