Fixed build issue with OS X SDK 10.4

This commit is contained in:
alexey.lysiuk 2015-01-05 18:12:07 +02:00
parent b59fc59539
commit 04d3802960
2 changed files with 1 additions and 11 deletions

View file

@ -128,17 +128,6 @@ enum
kVK_UpArrow = 0x7E
};
@interface NSView(SupportOutdatedOSX)
- (NSPoint)convertPointFromBase:(NSPoint)aPoint;
@end
@implementation NSView(SupportOutdatedOSX)
- (NSPoint)convertPointFromBase:(NSPoint)aPoint
{
return [self convertPoint:aPoint fromView:nil];
}
@end
#endif // prior to 10.5

View file

@ -34,6 +34,7 @@
#include "i_common.h"
#include <sys/sysctl.h>
#include <unistd.h>
// Avoid collision between DObject class and Objective-C
#define Class ObjectClass