changeset 1994:4c53c8367a12

Mac: Some minor code cleanup in the SDK section.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 21 Sep 2019 15:41:57 +0000
parents e643d280edae
children e0669accc85b
files mac/dw.m
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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