Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Butz
VTK
Commits
8d04f57d
Commit
8d04f57d
authored
Mar 25, 2015
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python: silence warnings about round redefinition
New MSVC has it while Python binaries are built with MSVC 2008.
parent
3bb4d633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Utilities/Python/vtkPython.h
Utilities/Python/vtkPython.h
+8
-0
No files found.
Utilities/Python/vtkPython.h
View file @
8d04f57d
...
@@ -72,8 +72,16 @@ they are system headers. Do NOT add any #undef lines here. */
...
@@ -72,8 +72,16 @@ they are system headers. Do NOT add any #undef lines here. */
# pragma warning (push, 1)
# pragma warning (push, 1)
#endif
#endif
#if defined(_MSC_VER) && _MSC_VER >= 1800
#define HAVE_ROUND
#endif
#include <Python.h>
#include <Python.h>
#if defined(_MSC_VER) && _MSC_VER >= 1800
#undef HAVE_ROUND
#endif
#if defined(_MSC_VER)
#if defined(_MSC_VER)
# pragma warning (pop)
# pragma warning (pop)
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment