Merge pull request #8868 from alalek:fix_build_softfloat

This commit is contained in:
Alexander Alekhin 2017-06-08 20:22:52 +00:00
commit 0213b508dc
5 changed files with 15 additions and 3 deletions

View File

@ -58,7 +58,6 @@
#include "opencv2/core/types.hpp"
#include "opencv2/core/mat.hpp"
#include "opencv2/core/persistence.hpp"
#include "opencv2/core/softfloat.hpp"
/**
@defgroup core Core functionality

View File

@ -83,6 +83,18 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cvdef.h"
// int32_t / uint32_t
#if defined(_MSC_VER) && _MSC_VER < 1600 /* MSVS 2010 */
namespace cv {
typedef signed int int32_t;
typedef unsigned int uint32_t;
}
#elif defined(_MSC_VER) || __cplusplus >= 201103L
#include <cstdint>
#else
#include <stdint.h>
#endif
namespace cv
{

View File

@ -58,8 +58,6 @@
#include "opencv2/core/ocl.hpp"
#endif
#include "opencv2/core/softfloat.hpp"
#include <assert.h>
#include <ctype.h>
#include <float.h>

View File

@ -79,6 +79,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "precomp.hpp"
#include "opencv2/core/softfloat.hpp"
namespace cv
{

View File

@ -5,6 +5,7 @@
#include "test_precomp.hpp"
#include <float.h>
#include <math.h>
#include "opencv2/core/softfloat.hpp"
using namespace cv;
using namespace std;