Browse Source

Distinguish Mac OS 9 and Mac OS X.

[SVN r11195]
Darin Adler 25 years ago
parent
commit
7ad95929a5
1 changed files with 5 additions and 1 deletions
  1. 5 1
      status/regression.cpp

+ 5 - 1
status/regression.cpp

@@ -96,7 +96,11 @@ std::string get_system_configuration()
 
 std::string get_system_configuration()
 {
-  return "Mac OS";
+#if __dest_os == _mac_os
+  return "Mac OS 9";
+#else
+  return "Mac OS X";
+#endif
 }
 
 #else

粤ICP备19079148号