pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/piechart.c


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/src/piechart.c
Date: Thu, 06 Jan 2005 19:29:40 -0500

Index: pspp/src/piechart.c
diff -u pspp/src/piechart.c:1.4 pspp/src/piechart.c:1.5
--- pspp/src/piechart.c:1.4     Fri Dec 31 08:51:07 2004
+++ pspp/src/piechart.c Fri Jan  7 00:17:20 2005
@@ -19,7 +19,7 @@
 02111-1307, USA. */
 
 
-#include <config.h>
+#include "config.h"
 #include "chart.h"
 #include <float.h>
 #include <assert.h>
@@ -47,6 +47,8 @@
 
 
 
+#ifndef NO_CHARTS
+
 /* Draw a piechart */
 void
 piechart_plot(const char *title, const struct slice *slices, int n_slices)
@@ -208,3 +210,13 @@
 
   pl_restorestate_r(ch->lp);
 }
+
+#else
+
+
+void
+piechart_plot(const char *title, const struct slice *slices, int n_slices)
+{
+}
+
+#endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]