Commit 7d78e329 authored by David Gobbi's avatar David Gobbi

Remove Python version from vtkPythonConfigure.h.

This is no longer needed, and is needlessly restrictive.
It's best to have a header that can be used by multiple
versions of python.
parent 96ca3e6f
......@@ -91,8 +91,4 @@ they are system headers. Do NOT add any #undef lines here. */
# undef VTK_PYTHON_UNDEF_DEBUG
#endif
#if (PY_VERSION_HEX & 0xFFFF0000) != (VTK_PYTHON_VERSION_HEX & 0xFFFF0000)
#error "Python.h is different version from what VTK was configured with!!"
#endif
#endif
......@@ -17,12 +17,6 @@
/* This header is configured by VTK's build process. */
/* Python version that VTK was configured with */
#define VTK_PYTHON_MAJOR_VERSION @PYTHON_MAJOR_VERSION@
#define VTK_PYTHON_MINOR_VERSION @PYTHON_MINOR_VERSION@
#define VTK_PYTHON_MICRO_VERSION @PYTHON_MICRO_VERSION@
#define VTK_PYTHON_VERSION_HEX ((@PYTHON_MAJOR_VERSION@ << 24) | (@PYTHON_MINOR_VERSION@ << 16) | (@PYTHON_MICRO_VERSION@ << 8))
/* E.g. on BlueGene and Cray there is no multithreading */
#cmakedefine VTK_NO_PYTHON_THREADS
......
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