From 3817aa3079e741bd3a98af11d489f7a332e71ab3 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Wed, 28 Dec 2016 23:32:52 +0300 Subject: [PATCH] Fix windows dll build. --- arch/simddetect.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/simddetect.h b/arch/simddetect.h index 67ba0483f..3bd48ce61 100644 --- a/arch/simddetect.h +++ b/arch/simddetect.h @@ -15,6 +15,8 @@ // limitations under the License. /////////////////////////////////////////////////////////////////////// +#include "platform.h" + // Architecture detector. Add code here to detect any other architectures for // SIMD-based faster dot product functions. Intended to be a single static // object, but it does no real harm to have more than one. @@ -37,7 +39,7 @@ class SIMDDetect { // Singleton. static SIMDDetect detector; // If true, then AVX has been detected. - static bool avx_available_; + static TESS_API bool avx_available_; // If true, then SSe4.1 has been detected. - static bool sse_available_; + static TESS_API bool sse_available_; };