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

pull/13383/head
Andrey Pavlenko 13 years ago
parent a4de511eb7
commit 010e73010c
  1. 2
      modules/core/include/opencv2/core/core.hpp

@ -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…
Cancel
Save