ソースを参照

Distinguish Mac OS 9 and Mac OS X.

[SVN r11195]
Darin Adler 25 年 前
コミット
7ad95929a5
1 ファイル変更5 行追加1 行削除
  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号