Bugfix when compiling for 10.4 on a 10.5 OSX install

This commit is contained in:
rdb 2009-10-29 08:56:26 +00:00
parent 0cb686d5a9
commit 521f5491b2
1 changed files with 6 additions and 2 deletions

View File

@ -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
////////////////////////////////////////////////////////////////////