summaryrefslogtreecommitdiff
path: root/src/Fl_Printer.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-27 16:42:20 +0000
committerManolo Gouy <Manolo>2016-04-27 16:42:20 +0000
commitf4ec7192a9f2c3ada9f7676ca90942306f910db3 (patch)
tree332be43a0ec07951d86029126a54840ddd981a5d /src/Fl_Printer.cxx
parent425fe6ac8c31ff1500a1745d67aa6bbe781f5328 (diff)
Add tests to avoid null pointer errors
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Printer.cxx')
-rw-r--r--src/Fl_Printer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Printer.cxx b/src/Fl_Printer.cxx
index a6756acdc..6938a9b5f 100644
--- a/src/Fl_Printer.cxx
+++ b/src/Fl_Printer.cxx
@@ -22,6 +22,7 @@
#ifdef FL_PORTING
# pragma message "FL_PORTING: implement print support for your platform, or define NO_PRINT_SUPPORT"
+#define NO_PRINT_SUPPORT 1
#endif
#if defined(NO_PRINT_SUPPORT)