Commit 1816c05a authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'python-py3k-compat'

1ab26ad6

 Add include guard to vtkPythonCompatibility.h

Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !511
parents dfe3dfb7 1ab26ad6
......@@ -16,6 +16,8 @@
This header contains macros to make Python 2 and Python 3 play nice.
It must be included after vtkPython.h.
-----------------------------------------------------------------------*/
#ifndef vtkPythonCompatibility_h
#define vtkPythonCompatibility_h
// define our main check macro VTK_PY3K
#if PY_MAJOR_VERSION >= 3
......@@ -128,3 +130,4 @@ typedef struct bufferinfo { PyObject *obj; } Py_buffer;
#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