mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Fix building Obj-C code with SDK >= 10.6.
This commit is contained in:
parent
86c50b78fe
commit
a3abfdc041
@ -20,7 +20,11 @@
|
|||||||
|
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
@interface VMListController : NSWindowController {
|
@interface VMListController : NSWindowController
|
||||||
|
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
|
||||||
|
<NSTableViewDataSource, NSTableViewDelegate>
|
||||||
|
#endif
|
||||||
|
{
|
||||||
IBOutlet NSTableView *vmList;
|
IBOutlet NSTableView *vmList;
|
||||||
IBOutlet NSButton *newButton;
|
IBOutlet NSButton *newButton;
|
||||||
IBOutlet NSButton *importButton;
|
IBOutlet NSButton *importButton;
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
@interface VMSettingsController : NSWindowController
|
@interface VMSettingsController : NSWindowController
|
||||||
|
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
|
||||||
|
<NSTableViewDataSource>
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
BOOL cancelWasClicked;
|
BOOL cancelWasClicked;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user