Fix build for Intel Compiler (issue #2736)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-10-30 10:09:44 +01:00 committed by zdenop
parent 87291fff62
commit 13237d8566
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
namespace tesseract {
#if __cplusplus < 201402 || defined(__clang__) // C++11
#if __cplusplus < 201402 || defined(__clang__) || defined(__INTEL_COMPILER) // C++11
double TanhTable[kTableSize];
double LogisticTable[kTableSize];

View File

@ -35,7 +35,7 @@ constexpr int kTableSize = 4096;
// Scale factor for float arg to int index.
constexpr double kScaleFactor = 256.0;
#if __cplusplus < 201402 || defined(__clang__) // C++11
#if __cplusplus < 201402 || defined(__clang__) || defined(__INTEL_COMPILER) // C++11
extern double TanhTable[];
extern double LogisticTable[];