- 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:
Braden Obrzut 2014-01-07 00:55:32 -05:00
parent bbd3106cbb
commit fa516c5ee6
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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
{