Commit adeb0c2b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

replace faulty preprocessor logic

fixes #1196
parent 1651a21f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -93,10 +93,10 @@ enum{VTK,VTP,VTU,PVTP,PVTU}; // file formats
#define ONEFIELD 32
#define DELTA 1048576

#if VTK_MAJOR_VERSION >= 7
#define InsertNextTupleValue InsertNextTypedTuple
#elif VTK_MAJOR_VERSION > 8
#if (VTK_MAJOR_VERSION < 5) || (VTK_MAJOR_VERSION > 8)
#error This code has only been tested with VTK 5, 6, 7, and 8
#elif VTK_MAJOR_VERSION > 6
#define InsertNextTupleValue InsertNextTypedTuple
#endif

/* ---------------------------------------------------------------------- */