Skip to content
Snippets Groups Projects
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: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !511
parents dfe3dfb7 1ab26ad6
Branches
Tags
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment