Skip to content

Commit

Permalink
Remove mathfix.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil committed Jun 5, 2017
1 parent 5f8ecdb commit 1cf8fe5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion api/baseapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#if defined(_WIN32)
#ifdef _MSC_VER
#include "vcsversion.h"
#include "mathfix.h"
#elif MINGW
// workaround for stdlib.h with -std=c++11 for _splitpath and _MAX_FNAME
#undef __STRICT_ANSI__
Expand Down
4 changes: 0 additions & 4 deletions api/pdfrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
#include "strngs.h"
#include "tprintf.h"

#ifdef _MSC_VER
#include "mathfix.h"
#endif

/*
Design notes from Ken Sharp, with light editing.
Expand Down
5 changes: 0 additions & 5 deletions ccmain/equationdetect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
//
///////////////////////////////////////////////////////////////////////

#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#include <mathfix.h>
#endif

#ifdef __MINGW32__
#include <limits.h>
#endif
Expand Down
4 changes: 0 additions & 4 deletions classify/featdefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
/*-----------------------------------------------------------------------------
Include Files and Type Defines
-----------------------------------------------------------------------------*/
#ifdef _MSC_VER
#include <mathfix.h>
#endif

#include "featdefs.h"
#include "emalloc.h"
#include "danerror.h"
Expand Down
38 changes: 0 additions & 38 deletions vs2010/port/mathfix.h

This file was deleted.

0 comments on commit 1cf8fe5

Please sign in to comment.