eliminating VS2013 build warnings

This commit is contained in:
Andrey Pavlenko 2013-12-26 13:35:59 +04:00
parent 24be7b26cd
commit f9aa148ba9
2 changed files with 8 additions and 0 deletions

View File

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

View File

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