fixing compilation on Windows (M_PI was undefined via math.h)

This commit is contained in:
Andrey Pavlenko 2012-03-19 06:17:04 +00:00
parent a4de511eb7
commit 010e73010c

View File

@ -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"