vtk/vtk-sqldatabaseschema.patch

19 lines
486 B
Diff

diff -ur VTK.orig//IO/vtkSQLDatabaseSchema.h VTK//IO/vtkSQLDatabaseSchema.h
--- VTK.orig//IO/vtkSQLDatabaseSchema.h 2010-09-28 02:10:05.000000000 +0530
+++ VTK//IO/vtkSQLDatabaseSchema.h 2011-03-30 09:10:08.513000002 +0530
@@ -32,6 +32,14 @@
#ifndef __vtkSQLDatabaseSchema_h
#define __vtkSQLDatabaseSchema_h
+#ifdef TIME
+#undef TIME
+#endif
+
+#ifdef DATE
+#undef DATE
+#endif
+
#include "vtkObject.h"
#include <cstdarg> // Because one method has a variable list of arguments