mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Fix build with SnowLeopard SDK.
This commit is contained in:
parent
005c573148
commit
8376a21804
@ -704,7 +704,7 @@ OSX_monitor::init_screen(video_mode &mode)
|
||||
mode.bytes_per_row = CGDisplayBytesPerRow(theDisplay);
|
||||
}
|
||||
|
||||
HideMenuBar();
|
||||
[NSMenu setMenuBarVisible:NO];
|
||||
|
||||
if ( singleDisplay )
|
||||
{
|
||||
@ -883,7 +883,7 @@ OSX_monitor::video_close()
|
||||
{
|
||||
if ( singleDisplay )
|
||||
CGDisplayShowCursor(theDisplay);
|
||||
ShowMenuBar();
|
||||
[NSMenu setMenuBarVisible:YES];
|
||||
CGDisplaySwitchToMode(theDisplay, originalMode);
|
||||
CGDisplayRelease(theDisplay);
|
||||
//[the_win deminiaturize: nil];
|
||||
|
@ -149,12 +149,18 @@ typedef long int32;
|
||||
#error "No 4 byte type, you lose."
|
||||
#endif
|
||||
#if SIZEOF_LONG == 8
|
||||
#ifndef _UINT64
|
||||
typedef unsigned long uint64;
|
||||
#define _UINT64
|
||||
#endif
|
||||
typedef long int64;
|
||||
#define VAL64(a) (a ## l)
|
||||
#define UVAL64(a) (a ## ul)
|
||||
#elif SIZEOF_LONG_LONG == 8
|
||||
#ifndef _UINT64
|
||||
typedef unsigned long long uint64;
|
||||
#define _UINT64
|
||||
#endif
|
||||
typedef long long int64;
|
||||
#define VAL64(a) (a ## LL)
|
||||
#define UVAL64(a) (a ## uLL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user