# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1569080517 0 # Node ID 4c53c8367a121fa106f2b918255c6bf046ddac80 # Parent e643d280edaefe9185e86fc89c4278f9c33211a7 Mac: Some minor code cleanup in the SDK section. diff -r e643d280edae -r 4c53c8367a12 mac/dw.m --- a/mac/dw.m Sat Sep 21 15:34:24 2019 +0000 +++ b/mac/dw.m Sat Sep 21 15:41:57 2019 +0000 @@ -27,7 +27,7 @@ #define BUILDING_FOR_SNOW_LEOPARD #endif -/* Create a define to let us know to include Snow Leopard specific features */ +/* Create a define to let us know to include Lion specific features */ #if defined(MAC_OS_X_VERSION_10_7) && ((defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7) || !defined(MAC_OS_X_VERSION_MAX_ALLOWED)) #define BUILDING_FOR_LION #endif @@ -142,11 +142,8 @@ #define DWProgressIndicatorStyleBar NSProgressIndicatorBarStyle #endif -/* Handle deprecation of several constants in 10.15... - * the replacements are not available in earlier versions. - */ +/* Handle deprecation of constants in 10.15... */ #if defined(MAC_OS_X_VERSION_10_15) && ((defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_15) || !defined(MAC_OS_X_VERSION_MAX_ALLOWED)) -#define DWProgressIndicatorStyleBar NSProgressIndicatorStyleBar #define BUILDING_FOR_CATALINA #define WK_API_ENABLED 1 #endif