output: Use macro HAVE_CHARTS instead of NO_CHARTS.
[pspp-builds.git] / src / output / charts / dummy-chart.c
index b859d0e01be0588019bacb022e18afbca8adb313..aab8026cd10714d154e334f20424b100a9d860d0 100644 (file)
@@ -28,7 +28,7 @@
 #include <gsl/gsl_histogram.h>
 #include <libpspp/compiler.h>
 
-#ifndef NO_CHARTS
+#ifdef HAVE_CHARTS
 #error This file should be used only when compiling without charts.
 #endif