Bugfix when compiling for 10.4 on a 10.5 OSX install
This commit is contained in:
parent
0cb686d5a9
commit
521f5491b2
|
|
@ -19,8 +19,12 @@
|
|||
#include <Carbon/Carbon.h>
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
|
||||
#ifndef MAC_OS_X_VERSION_10_5
|
||||
typedef float CGFloat;
|
||||
#ifndef CGFLOAT_DEFINED
|
||||
#if defined(__LP64__) && __LP64__
|
||||
typedef double CGFloat;
|
||||
#else
|
||||
typedef float CGFloat;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue