mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #8868 from alalek:fix_build_softfloat
This commit is contained in:
commit
0213b508dc
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
||||
|
@ -58,8 +58,6 @@
|
||||
#include "opencv2/core/ocl.hpp"
|
||||
#endif
|
||||
|
||||
#include "opencv2/core/softfloat.hpp"
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
|
@ -79,6 +79,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "precomp.hpp"
|
||||
|
||||
#include "opencv2/core/softfloat.hpp"
|
||||
|
||||
namespace cv
|
||||
{
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user