mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 06:10:02 +08:00
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__
|
||||
#define __OPENCV_CORE_HPP__
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
|
||||
#include "opencv2/core/types_c.h"
|
||||
#include "opencv2/core/version.hpp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user