]> granicus.if.org Git - graphviz/commitdiff
Replace #ifdef so overlap.c has content only if there is some
authorerg <devnull@localhost>
Mon, 15 Jun 2009 18:24:48 +0000 (18:24 +0000)
committererg <devnull@localhost>
Mon, 15 Jun 2009 18:24:48 +0000 (18:24 +0000)
triangle library and SFDP is defined.

lib/neatogen/overlap.c

index 6a7fccffb1907502c8677549110a89a1d7a77403..b4702c3e812fb959cc6272398818520bb894c619 100644 (file)
@@ -14,6 +14,8 @@
 *              AT&T Research, Florham Park NJ             *
 **********************************************************/
 
+#if ((defined(HAVE_GTS) || defined(HAVE_TRIANGLE)) && defined(SFDP))
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -511,3 +513,4 @@ void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes,
 #endif
 }
 
+#endif