summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-11-09 08:34:26 +0000
committerManolo Gouy <Manolo>2014-11-09 08:34:26 +0000
commite037083a5bed03d3147a7f8448b024fa64dd27a2 (patch)
tree2b8db1bf3b4b4a53cbd34c9a61dcfe9b2fb70fb1 /FL/mac.H
parent574e31276e7006e1f558ebcb3af6fbd3c4274633 (diff)
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
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/mac.H b/FL/mac.H
index c824aa5d0..de8270549 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -41,6 +41,7 @@ typedef struct OpaquePMPrintSettings* PMPrintSettings;
typedef struct OpaquePMPageFormat* PMPageFormat;
typedef struct OpaquePMPrintSession* PMPrintSession;
typedef struct CGImage* CGImageRef;
+typedef void *Fl_CFMutableDataRef; // used in Fl_Copy_Surface.H
typedef CGContextRef Fl_Offscreen;
#else // this part must be compiled when building the FLTK libraries
@@ -78,6 +79,7 @@ class NSCursor;
#endif // __OBJC__
typedef CGContextRef Fl_Offscreen;
+typedef CFMutableDataRef Fl_CFMutableDataRef;
typedef struct flCocoaRegion {
int count;