diff --git a/Utilities/Python/vtkPython.h b/Utilities/Python/vtkPython.h index 17c3b02c4f055e292b78c2eae7c78fa139b4d97d..85f035984c5bb084494746af4e18e3a5ad4a189e 100644 --- a/Utilities/Python/vtkPython.h +++ b/Utilities/Python/vtkPython.h @@ -72,8 +72,16 @@ they are system headers. Do NOT add any #undef lines here. */ # pragma warning (push, 1) #endif +#if defined(_MSC_VER) && _MSC_VER >= 1800 +#define HAVE_ROUND +#endif + #include +#if defined(_MSC_VER) && _MSC_VER >= 1800 +#undef HAVE_ROUND +#endif + #if defined(_MSC_VER) # pragma warning (pop) #endif