Skip to content

Commit 17f29d0

Browse files
committed
Fix linker regression for Visual Studio
Commit cb77067 changed the declaration of null_script. An additional TESS_API is needed to satisfy the VS linker. Signed-off-by: Stefan Weil <[email protected]>
1 parent c0f9699 commit 17f29d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ccutil/unicharset.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ class UNICHARSET {
10061006
// The substitutions clean up text that should exists for rendering of
10071007
// synthetic data, but not in the recognition set.
10081008
static const char* kCleanupMaps[][2];
1009-
static const char* null_script;
1009+
static TESS_API const char* null_script;
10101010

10111011
UNICHAR_SLOT* unichars;
10121012
UNICHARMAP ids;

0 commit comments

Comments
 (0)