Skip to content

Commit 3817aa3

Browse files
committed
Fix windows dll build.
1 parent e6ccfb2 commit 3817aa3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/simddetect.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// limitations under the License.
1616
///////////////////////////////////////////////////////////////////////
1717

18+
#include "platform.h"
19+
1820
// Architecture detector. Add code here to detect any other architectures for
1921
// SIMD-based faster dot product functions. Intended to be a single static
2022
// object, but it does no real harm to have more than one.
@@ -37,7 +39,7 @@ class SIMDDetect {
3739
// Singleton.
3840
static SIMDDetect detector;
3941
// If true, then AVX has been detected.
40-
static bool avx_available_;
42+
static TESS_API bool avx_available_;
4143
// If true, then SSe4.1 has been detected.
42-
static bool sse_available_;
44+
static TESS_API bool sse_available_;
4345
};

0 commit comments

Comments
 (0)