diff liboctave/oct-sparse.h.in @ 5506:b4cfbb0ec8c4

[project @ 2005-10-23 19:09:32 by dbateman]
author dbateman
date Sun, 23 Oct 2005 19:09:33 +0000
parents ed08548b9054
children
line wrap: on
line diff
--- a/liboctave/oct-sparse.h.in	Fri Oct 21 12:30:29 2005 +0000
+++ b/liboctave/oct-sparse.h.in	Sun Oct 23 19:09:33 2005 +0000
@@ -24,6 +24,10 @@
 #if !defined (oct_sparse_h)
 #define oct_sparse_h 1
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -43,9 +47,27 @@
 #include <@CCOLAMD_INCLUDE@>
 #endif
 
+#ifdef HAVE_METIS
+/* External METIS functions in C */
+#include <@METIS_INCLUDE@>
+#endif
+
 #ifdef HAVE_CHOLMOD
 /* External CHOLMOD functions in C */
 #include <@CHOLMOD_INCLUDE@>
+
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+
+#ifdef IDX_TYPE_LONG
+#define CHOLMOD_NAME(name) cholmod_l_ ## name
+#else
+#define CHOLMOD_NAME(name) cholmod_ ## name
+#endif
 #endif
 
 #ifdef __cplusplus