Skip to content

Commit 1cf8fe5

Browse files
committed
Remove mathfix.h
It was only needed for MS Visual Studio 2012 and older. Those compilers are not supported for Tesseract. Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 5f8ecdb commit 1cf8fe5

File tree

5 files changed

+0
-52
lines changed

5 files changed

+0
-52
lines changed

api/baseapi.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#if defined(_WIN32)
3030
#ifdef _MSC_VER
3131
#include "vcsversion.h"
32-
#include "mathfix.h"
3332
#elif MINGW
3433
// workaround for stdlib.h with -std=c++11 for _splitpath and _MAX_FNAME
3534
#undef __STRICT_ANSI__

api/pdfrenderer.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
#include "strngs.h"
2929
#include "tprintf.h"
3030

31-
#ifdef _MSC_VER
32-
#include "mathfix.h"
33-
#endif
34-
3531
/*
3632
3733
Design notes from Ken Sharp, with light editing.

ccmain/equationdetect.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
//
1818
///////////////////////////////////////////////////////////////////////
1919

20-
#ifdef _MSC_VER
21-
#pragma warning(disable:4244) // Conversion warnings
22-
#include <mathfix.h>
23-
#endif
24-
2520
#ifdef __MINGW32__
2621
#include <limits.h>
2722
#endif

classify/featdefs.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
/*-----------------------------------------------------------------------------
1919
Include Files and Type Defines
2020
-----------------------------------------------------------------------------*/
21-
#ifdef _MSC_VER
22-
#include <mathfix.h>
23-
#endif
24-
2521
#include "featdefs.h"
2622
#include "emalloc.h"
2723
#include "danerror.h"

vs2010/port/mathfix.h

-38
This file was deleted.

0 commit comments

Comments
 (0)