summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cairo/Makefile1
-rw-r--r--test/cairo_test.cxx4
2 files changed, 3 insertions, 2 deletions
diff --git a/cairo/Makefile b/cairo/Makefile
index cc854ebb8..24a8f3249 100644
--- a/cairo/Makefile
+++ b/cairo/Makefile
@@ -25,6 +25,7 @@
# http://www.fltk.org/str.php
#
+FLTKFLAGS = -DFL_LIBRARY
include ../makeinclude
#
diff --git a/test/cairo_test.cxx b/test/cairo_test.cxx
index 261cc512c..89811869c 100644
--- a/test/cairo_test.cxx
+++ b/test/cairo_test.cxx
@@ -151,9 +151,9 @@ int main(int argc, char** argv) {
window.resizable(&window);
window.color(FL_WHITE);
- window.show(argc,argv);
window.set_draw_cb(my_cairo_draw_cb);
-
+ window.show(argc,argv);
+
return Fl::run();
}
#else