mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +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/types.hpp"
|
||||||
#include "opencv2/core/mat.hpp"
|
#include "opencv2/core/mat.hpp"
|
||||||
#include "opencv2/core/persistence.hpp"
|
#include "opencv2/core/persistence.hpp"
|
||||||
#include "opencv2/core/softfloat.hpp"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@defgroup core Core functionality
|
@defgroup core Core functionality
|
||||||
|
@ -83,6 +83,18 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#include "cvdef.h"
|
#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
|
namespace cv
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -58,8 +58,6 @@
|
|||||||
#include "opencv2/core/ocl.hpp"
|
#include "opencv2/core/ocl.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "opencv2/core/softfloat.hpp"
|
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
@ -79,6 +79,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#include "precomp.hpp"
|
#include "precomp.hpp"
|
||||||
|
|
||||||
|
#include "opencv2/core/softfloat.hpp"
|
||||||
|
|
||||||
namespace cv
|
namespace cv
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include "test_precomp.hpp"
|
#include "test_precomp.hpp"
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include "opencv2/core/softfloat.hpp"
|
||||||
|
|
||||||
using namespace cv;
|
using namespace cv;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
Loading…
Reference in New Issue
Block a user