From e037083a5bed03d3147a7f8448b024fa64dd27a2 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 9 Nov 2014 08:34:26 +0000 Subject: Prevent Fl_Copy_Surface.H from including apple system headers on the mac platform. With this, no public FLTK header includes system header files anymore on the mac. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Copy_Surface.H | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'FL/Fl_Copy_Surface.H') diff --git a/FL/Fl_Copy_Surface.H b/FL/Fl_Copy_Surface.H index e26ec47b1..a6ef7220b 100644 --- a/FL/Fl_Copy_Surface.H +++ b/FL/Fl_Copy_Surface.H @@ -21,10 +21,7 @@ #include #include - -#if defined(__APPLE__) -#include -#endif +#include /** Supports copying of graphical data to the clipboard. @@ -57,7 +54,7 @@ private: int height; Fl_Paged_Device *helper; #ifdef __APPLE__ - CFMutableDataRef pdfdata; + Fl_CFMutableDataRef pdfdata; CGContextRef oldgc; CGContextRef gc; void prepare_copy_pdf_and_tiff(int w, int h); -- cgit v1.2.3