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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user