diff options
author | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:17 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:17 +0000 |
commit | 8b476de3bfa2864b51435e7fb4988e1550cf1d3a (patch) | |
tree | c9fbb557a94c308b87a09b62a404e1f15ec82306 /src/os/macosx | |
parent | 8003da77aa5141df149988cc458a27969affc9b1 (diff) | |
download | openttd-8b476de3bfa2864b51435e7fb4988e1550cf1d3a.tar.xz |
(svn r25666) -Feature [FS#4760]: [OSX] Pinch gesture support for zooming. (Based on patch by leecbaker)
Diffstat (limited to 'src/os/macosx')
-rw-r--r-- | src/os/macosx/osx_stdafx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h index 5adbde179..3b3e3fbde 100644 --- a/src/os/macosx/osx_stdafx.h +++ b/src/os/macosx/osx_stdafx.h @@ -108,6 +108,14 @@ typedef unsigned int NSUInteger; #endif /* __LP64__ */ #endif /* NSInteger */ +#ifndef CGFLOAT_DEFINED +#if __LP64__ +typedef double CGFloat; +#else +typedef float CGFloat; +#endif /* __LP64__ */ +#endif /* CGFLOAT_DEFINED */ + /* OS X SDK versions >= 10.5 have a non-const iconv. */ #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 # define HAVE_NON_CONST_ICONV |