Author: manolo
Date: 2013-01-16 00:45:35 -0800 (Wed, 16 Jan 2013)
New Revision: 9795
Log:
Allow compilation with early Mac OS versions.
Modified:
branches/branch-1.3/src/Fl_Image.cxx
Modified: branches/branch-1.3/src/Fl_Image.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Image.cxx 2013-01-14 17:23:42 UTC (rev
9794)
+++ branches/branch-1.3/src/Fl_Image.cxx 2013-01-16 08:45:35 UTC (rev
9795)
@@ -453,6 +453,10 @@
delete[] (unsigned char *)data;
}
+#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
+typedef void (*CGDataProviderReleaseDataCallback)(void *info, const void
*data, size_t size);
+#endif
+
void Fl_Quartz_Graphics_Driver::draw(Fl_RGB_Image *img, int XP, int YP, int
WP, int HP, int cx, int cy) {
int X, Y, W, H;
// Don't draw an empty image...
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit