mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 10:57:58 +08:00
Another change to allow OS-independent compilation of external applications as suggested by Greg.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -39,6 +39,7 @@ typedef void* Window; // this is really a pointer to the subclass FLWindow o
|
|||||||
typedef void* Fl_Offscreen; // this is really a CGContextRef
|
typedef void* Fl_Offscreen; // this is really a CGContextRef
|
||||||
typedef void* Fl_Bitmask; // this is really a CGImageRef
|
typedef void* Fl_Bitmask; // this is really a CGImageRef
|
||||||
|
|
||||||
|
#include <AvailabilityMacros.h>
|
||||||
#ifndef MAC_OS_X_VERSION_10_3
|
#ifndef MAC_OS_X_VERSION_10_3
|
||||||
#define MAC_OS_X_VERSION_10_3 1030
|
#define MAC_OS_X_VERSION_10_3 1030
|
||||||
#endif
|
#endif
|
||||||
@@ -53,7 +54,6 @@ typedef void* Fl_Bitmask; // this is really a CGImageRef
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FL_LIBRARY // this part is used when compiling an application program
|
#ifndef FL_LIBRARY // this part is used when compiling an application program
|
||||||
#include <AvailabilityMacros.h>
|
|
||||||
|
|
||||||
typedef void* Fl_Region;
|
typedef void* Fl_Region;
|
||||||
typedef void* Fl_CGContextRef;
|
typedef void* Fl_CGContextRef;
|
||||||
|
|||||||
Reference in New Issue
Block a user