Commit 1ab26ad6 authored by David Gobbi's avatar David Gobbi
Browse files

Add include guard to vtkPythonCompatibility.h

parent 26ad0555
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
This header contains macros to make Python 2 and Python 3 play nice. This header contains macros to make Python 2 and Python 3 play nice.
It must be included after vtkPython.h. It must be included after vtkPython.h.
-----------------------------------------------------------------------*/ -----------------------------------------------------------------------*/
#ifndef vtkPythonCompatibility_h
#define vtkPythonCompatibility_h
// define our main check macro VTK_PY3K // define our main check macro VTK_PY3K
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
...@@ -128,3 +130,4 @@ typedef struct bufferinfo { PyObject *obj; } Py_buffer; ...@@ -128,3 +130,4 @@ typedef struct bufferinfo { PyObject *obj; } Py_buffer;
#endif #endif
#endif #endif
#endif
Supports Markdown
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