mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- For some reason __MAC_10_6 is defined in the 10.5 SDK so use MAC_OS_X_VERSION_MAX to check SDK version instead.
This commit is contained in:
parent
bbd3106cbb
commit
fa516c5ee6
2 changed files with 2 additions and 2 deletions
|
@ -719,7 +719,7 @@ bool I_WriteIniFailed ()
|
|||
|
||||
static const char *pattern;
|
||||
|
||||
#if defined(__APPLE__) && !defined(__MAC_10_8)
|
||||
#if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED < 1080
|
||||
static int matchfile (struct dirent *ent)
|
||||
#else
|
||||
static int matchfile (const struct dirent *ent)
|
||||
|
|
|
@ -49,7 +49,7 @@ static const char* const tableHeaders[NUM_COLUMNS] = { "IWAD", "Game" };
|
|||
|
||||
// Class to convert the IWAD data into a form that Cocoa can use.
|
||||
@interface IWADTableData : NSObject
|
||||
#ifdef __MAC_10_6
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
|
||||
<NSTableViewDataSource>
|
||||
#endif
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue