Skip to content

Commit 539673b

Browse files
committed
fix '--enable-visibility' build
1 parent e44c60c commit 539673b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/arch/simddetect.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class SIMDDetect {
5252
}
5353

5454
// Update settings after config variable was set.
55-
static void Update();
55+
static TESS_API void Update();
5656

5757
private:
5858
// Constructor, must set all static member variables.

src/dict/dict.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class Dict {
301301

302302
/// Initialize Dict class - load dawgs from [lang].traineddata and
303303
/// user-specified wordlist and parttern list.
304-
static DawgCache *GlobalDawgCache();
304+
static TESS_API DawgCache *GlobalDawgCache();
305305
// Sets up ready for a Load or LoadLSTM.
306306
void SetupForLoad(DawgCache *dawg_cache);
307307
// Loads the dawgs needed by Tesseract. Call FinishLoad() after.

0 commit comments

Comments
 (0)