mirror of https://github.com/LIJI32/SameBoy.git
Fix compatibility issues when linking against Sonoma's SDK. Fixes #633
This commit is contained in:
parent
b2d1086e2e
commit
0b77662504
|
@ -1,15 +0,0 @@
|
|||
//
|
||||
// HFHexTextView.h
|
||||
// HexFiend_2
|
||||
//
|
||||
// Copyright 2007 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
||||
@interface HFHexTextView : NSTextView {
|
||||
|
||||
}
|
||||
|
||||
@end
|
|
@ -1,13 +0,0 @@
|
|||
//
|
||||
// HFHexTextView.m
|
||||
// HexFiend_2
|
||||
//
|
||||
// Copyright 2007 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import "HFHexTextView.h"
|
||||
|
||||
|
||||
@implementation HFHexTextView
|
||||
|
||||
@end
|
|
@ -672,4 +672,10 @@ static inline int common_prefix_length(const char *a, const char *b) {
|
|||
}
|
||||
}
|
||||
|
||||
/* Compatibility with Sonoma */
|
||||
+ (bool)clipsToBounds
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -1761,4 +1761,10 @@ static size_t unionAndCleanLists(NSRect *rectList, id *valueList, size_t count)
|
|||
else return YES;
|
||||
}
|
||||
|
||||
/* Compatibility with Sonoma */
|
||||
+ (bool)clipsToBounds
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue