From 37d1c6506d488c4e828e63ccfe133d6c865873ad Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 3 Sep 2024 17:31:38 +0200 Subject: [PATCH] Add TESS_API in declaration for tesserr (fix sw build) Signed-off-by: Stefan Weil --- src/ccutil/tesserrstream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ccutil/tesserrstream.h b/src/ccutil/tesserrstream.h index 3452f35e..80da99da 100644 --- a/src/ccutil/tesserrstream.h +++ b/src/ccutil/tesserrstream.h @@ -17,6 +17,7 @@ #define TESSERACT_CCUTIL_TESSERRSTREAM_H #include "tprintf.h" +#include // for TESS_API #include // for std::ostream @@ -60,7 +61,7 @@ public: } }; -extern TessErrStream tesserr; +extern TESS_API TessErrStream tesserr; } // namespace tesseract