[cig-commits] r13701 - cs/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Dec 17 02:31:31 PST 2008
Author: luis
Date: 2008-12-17 02:31:31 -0800 (Wed, 17 Dec 2008)
New Revision: 13701
Modified:
cs/cigma/trunk/src/io_vtk.cpp
cs/cigma/trunk/src/io_vtk.h
Log:
Include common.h header in io_vtk.h (otherwise we won't know if HAVE_VTK is defined)
Modified: cs/cigma/trunk/src/io_vtk.cpp
===================================================================
--- cs/cigma/trunk/src/io_vtk.cpp 2008-12-17 10:31:28 UTC (rev 13700)
+++ cs/cigma/trunk/src/io_vtk.cpp 2008-12-17 10:31:31 UTC (rev 13701)
@@ -1,5 +1,8 @@
+#include "io_vtk.h"
+
+
#ifdef HAVE_VTK
-#include "io_vtk.h"
+
#include "Filesystem.h"
using namespace std;
@@ -174,4 +177,4 @@
}
-#endif
+#endif /* HAVE_VTK */
Modified: cs/cigma/trunk/src/io_vtk.h
===================================================================
--- cs/cigma/trunk/src/io_vtk.h 2008-12-17 10:31:28 UTC (rev 13700)
+++ cs/cigma/trunk/src/io_vtk.h 2008-12-17 10:31:31 UTC (rev 13701)
@@ -1,8 +1,10 @@
#ifndef __CIGMA_IO_VTK_H__
#define __CIGMA_IO_VTK_H__
-/* XXX: Move this to Definitions.h header? */
+#include "Common.h"
+/* XXX: Move this enum to Definitions.h header? */
+
typedef enum
{
GRID_NULL=0,
@@ -310,4 +312,7 @@
#endif /* HAVE_VTK */
+
+
+
#endif /* __CIGMA_IO_VTK_H__ */
More information about the CIG-COMMITS
mailing list