patch 8.0.1236: Mac features are confusing
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
diff --git a/src/version.c b/src/version.c
index 60ea4f3..7a2bcf5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1236,
+/**/
1235,
/**/
1234,
@@ -3389,15 +3391,11 @@
# endif
# endif
#endif
-#ifdef MACOS
-# ifdef MACOS_X
-# ifdef MACOS_X_UNIX
- MSG_PUTS(_("\nMacOS X (unix) version"));
-# else
- MSG_PUTS(_("\nMacOS X version"));
-# endif
-#else
- MSG_PUTS(_("\nMacOS version"));
+#if defined(MACOS_X)
+# if defined(MACOS_X_DARWIN)
+ MSG_PUTS(_("\nmacOS version"));
+# else
+ MSG_PUTS(_("\nmacOS version w/o darwin feat."));
# endif
#endif
@@ -3530,9 +3528,6 @@
# if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX
MSG_PUTS(_("with Cocoa GUI."));
# else
-# if defined(MACOS)
- MSG_PUTS(_("with (classic) GUI."));
-# endif
# endif
# endif
# endif