eliminating VS2013 build warnings

pull/2061/head
Andrey Pavlenko 11 years ago
parent 24be7b26cd
commit f9aa148ba9
  1. 3
      modules/highgui/src/window_w32.cpp
  2. 5
      modules/python/src2/cv2.cpp

@ -61,7 +61,10 @@
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
#endif
#if defined(_MSC_VER) && (_MSC_VER < 1700)
#include <MultiMon.h>
#endif
#include <commctrl.h>
#include <winuser.h>

@ -1,3 +1,8 @@
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
// eliminating duplicated round() declaration
#define HAVE_ROUND
#endif
#include <Python.h>
#if !PYTHON_USE_NUMPY

Loading…
Cancel
Save