Move Leopard-specific type definitions to gdkquartz.h

Update includes subsequently where it matters.  Fixes build on Mac OS
X 10.4.

(cherry picked from commit e634f3fbe0498afc560530d9b92eb4709d7c7f97)
This commit is contained in:
Kristian Rietveld
2010-06-27 10:32:12 +02:00
parent 64f11c366a
commit 7f2e4c38a9
5 changed files with 16 additions and 13 deletions

View File

@ -25,19 +25,6 @@
#import <gdk/quartz/GdkQuartzView.h>
#import <gdk/quartz/GdkQuartzWindow.h>
/* NSInteger only exists in Leopard and newer. This check has to be
* done after inclusion of the system headers. If NSInteger has not
* been defined, we know for sure that we are on 32-bit.
*/
#ifndef NSINTEGER_DEFINED
typedef int NSInteger;
typedef unsigned int NSUInteger;
#endif
#ifndef CGFLOAT_DEFINED
typedef float CGFloat;
#endif
G_BEGIN_DECLS
/* Window implementation for Quartz