From f4ec7192a9f2c3ada9f7676ca90942306f910db3 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 27 Apr 2016 16:42:20 +0000 Subject: 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 --- src/Fl_Printer.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl_Printer.cxx') 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) -- cgit v1.2.3