summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cairo_test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cairo_test.cxx b/test/cairo_test.cxx
index 38d676342..b482ac0e0 100644
--- a/test/cairo_test.cxx
+++ b/test/cairo_test.cxx
@@ -16,7 +16,7 @@
#include <FL/Fl.H> // includes <FL/fl_config.h>
-#ifdef FLTK_HAVE_CAIRO // defined in <FL/fl_config.h> since FLTK 1.4.0
+#if FLTK_HAVE_CAIRO // defined in <FL/fl_config.h> since FLTK 1.4.0
#include <FL/Fl_Cairo_Window.H>
#include <FL/Fl_Box.H>
@@ -191,7 +191,7 @@ static void my_cairo_draw_cb(cairo_using_window *window, cairo_t *cr) {
}
int main(int argc, char **argv) {
-#ifdef FLTK_HAVE_CAIROEXT
+#if FLTK_HAVE_CAIROEXT
Fl::cairo_autolink_context(true);
#endif
cairo_using_window window(350, 350, "FLTK loves Cairo");