fixing compilation on Windows (M_PI was undefined via math.h)
This commit is contained in:
parent
a4de511eb7
commit
010e73010c
@ -46,6 +46,8 @@
|
|||||||
#ifndef __OPENCV_CORE_HPP__
|
#ifndef __OPENCV_CORE_HPP__
|
||||||
#define __OPENCV_CORE_HPP__
|
#define __OPENCV_CORE_HPP__
|
||||||
|
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
|
||||||
#include "opencv2/core/types_c.h"
|
#include "opencv2/core/types_c.h"
|
||||||
#include "opencv2/core/version.hpp"
|
#include "opencv2/core/version.hpp"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user