Commit 668cc25b authored by David C. Lonie's avatar David C. Lonie
Browse files

Silence redefinition warnings in matplotlib.

Change-Id: I9612c447a7f8b376940e9cb159647f535b6384f5
parent 0162904c
...@@ -15,6 +15,13 @@ ...@@ -15,6 +15,13 @@
#include "vtkMatplotlibMathTextUtilities.h" #include "vtkMatplotlibMathTextUtilities.h"
// Prevent redefined symbol warnings in vtkPython.h:
#ifdef _POSIX_C_SOURCE
# undef _POSIX_C_SOURCE
#endif // _POSIX_C_SOURCE
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif // _XOPEN_SOURCE
#include "vtkPython.h" #include "vtkPython.h"
#include "vtkImageData.h" #include "vtkImageData.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment