# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1595618851 0 # Node ID 79e9c8080ad90a78630adbe8339ecfa81ed89416 # Parent dfc64135adb6ceb3ec14fa2c8682f3df7dfd1076 Mac: Beta 2 of Xcode 12 has 10_16 defined but max allowed is 10_15. The new warnings are about deprecations in 10.15 so switching them to Catalina instead of Big Sur. Still not sure why it isn't 11.0 SDK. diff -r dfc64135adb6 -r 79e9c8080ad9 mac/dw.m --- a/mac/dw.m Sat Jul 18 19:34:04 2020 +0000 +++ b/mac/dw.m Fri Jul 24 19:27:31 2020 +0000 @@ -163,7 +163,7 @@ #endif /* Handle deprecation of constants in 10.16... */ -#if defined(MAC_OS_X_VERSION_11_0) && ((defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_11_0) || !defined(MAC_OS_X_VERSION_MAX_ALLOWED)) +#if defined(MAC_OS_X_VERSION_10_16) && ((defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_16) || !defined(MAC_OS_X_VERSION_MAX_ALLOWED)) #define BUILDING_FOR_BIG_SUR #endif @@ -4446,7 +4446,7 @@ DWBox *thisbox = dw_box_new(type, pad); Box *box = [thisbox box]; -#ifndef BUILDING_FOR_BIG_SUR +#ifndef BUILDING_FOR_CATALINA [groupbox setBorderType:NSBezelBorder]; #endif [groupbox setTitle:[NSString stringWithUTF8String:title]]; @@ -6394,7 +6394,7 @@ NSBox *border = [[NSBox alloc] init]; NSTextField *textfield = dw_text_new(text, cid); -#ifndef BUILDING_FOR_BIG_SUR +#ifndef BUILDING_FOR_CATALINA [border setBorderType:NSGrooveBorder]; #endif [border setTitlePosition:NSNoTitle];