Skip to content

Commit

Permalink
Fix windows dll build.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Dec 28, 2016
1 parent e6ccfb2 commit 3817aa3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/simddetect.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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_;
};

0 comments on commit 3817aa3

Please sign in to comment.