Author: manolo
Date: 2011-01-11 23:54:42 -0800 (Tue, 11 Jan 2011)
New Revision: 8266
Log:
Another change to allow OS-independent compilation of external applications as 
suggested by Greg.

Modified:
   branches/branch-1.3/FL/mac.H

Modified: branches/branch-1.3/FL/mac.H
===================================================================
--- branches/branch-1.3/FL/mac.H        2011-01-11 22:05:04 UTC (rev 8265)
+++ branches/branch-1.3/FL/mac.H        2011-01-12 07:54:42 UTC (rev 8266)
@@ -39,6 +39,7 @@
 typedef void* Fl_Offscreen; // this is really a CGContextRef
 typedef void* Fl_Bitmask;   // this is really a CGImageRef
 
+#include <AvailabilityMacros.h>
 #ifndef MAC_OS_X_VERSION_10_3
 #define MAC_OS_X_VERSION_10_3 1030
 #endif
@@ -53,7 +54,6 @@
 #endif
 
 #ifndef FL_LIBRARY // this part is used when compiling an application program
-#include <AvailabilityMacros.h>
 
 typedef void* Fl_Region;
 typedef void* Fl_CGContextRef;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to