Add TESS_API in declaration for tesserr (fix sw build)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2024-09-03 17:31:38 +02:00
parent 7ef8e3c7ee
commit 37d1c6506d

View File

@ -17,6 +17,7 @@
#define TESSERACT_CCUTIL_TESSERRSTREAM_H
#include "tprintf.h"
#include <tesseract/export.h> // for TESS_API
#include <ostream> // for std::ostream
@ -60,7 +61,7 @@ public:
}
};
extern TessErrStream tesserr;
extern TESS_API TessErrStream tesserr;
} // namespace tesseract