Skip to content

Commit

Permalink
Add TESS_API in declaration for tesserr (fix sw build)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Sep 3, 2024
1 parent 7ef8e3c commit 37d1c65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ccutil/tesserrstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#define TESSERACT_CCUTIL_TESSERRSTREAM_H

#include "tprintf.h"
#include <tesseract/export.h> // for TESS_API

#include <ostream> // for std::ostream

Expand Down Expand Up @@ -60,7 +61,7 @@ class TessErrStream : public std::ostream {
}
};

extern TessErrStream tesserr;
extern TESS_API TessErrStream tesserr;

} // namespace tesseract

Expand Down

0 comments on commit 37d1c65

Please sign in to comment.