Copy over NSInteger safety typedefs from Fl_cocoa.mm
so that we can continue to compile for OS X 10.4. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
9ce5d7c2ad
commit
f410352c7c
@ -43,6 +43,16 @@
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#ifndef NSINTEGER_DEFINED // appears with 10.5 in NSObjCRuntime.h
|
||||
#if defined(__LP64__) && __LP64__
|
||||
typedef long NSInteger;
|
||||
typedef unsigned long NSUInteger;
|
||||
#else
|
||||
typedef long NSInteger;
|
||||
typedef unsigned int NSUInteger;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "flstring.h"
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user