Skip to content

Commit

Permalink
Fix linker regression for Visual Studio
Browse files Browse the repository at this point in the history
Commit cb77067 changed the declaration of
null_script. An additional TESS_API is needed to satisfy the VS linker.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Apr 23, 2018
1 parent c0f9699 commit 17f29d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccutil/unicharset.h
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ class UNICHARSET {
// The substitutions clean up text that should exists for rendering of
// synthetic data, but not in the recognition set.
static const char* kCleanupMaps[][2];
static const char* null_script;
static TESS_API const char* null_script;

UNICHAR_SLOT* unichars;
UNICHARMAP ids;
Expand Down

0 comments on commit 17f29d0

Please sign in to comment.