Explorar o código

Distinguish Mac OS 9 and Mac OS X.

[SVN r11195]
Darin Adler %!s(int64=25) %!d(string=hai) anos
pai
achega
7ad95929a5
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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号