Преглед изворни кода

added case for MacOS X native c++ compiler

[SVN r11042]
Jeremy Siek пре 24 година
родитељ
комит
6695f19194
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      status/regression.cpp

+ 2 - 2
status/regression.cpp

@@ -54,7 +54,7 @@ std::string get_host()
   return "aix";
 #elif defined __MSL__ && __dest_os == __mac_os
   return "macos";
-#elif defined __MSL__ && __dest_os == __mac_os_x
+#elif defined __MSL__ && __dest_os == __mac_os_x || defined(__APPLE_CC__)
   return "macosx";
 #else
 # error Please adapt for your platform
@@ -92,7 +92,7 @@ std::string get_system_configuration()
   return "BeOS 5 Intel Edition";
 }
 
-#elif defined __MSL__ && (__dest_os == __mac_os || __dest_os == __mac_os_x)
+#elif defined __MSL__ && (__dest_os == __mac_os || __dest_os == __mac_os_x) || defined(__APPLE_CC__)
 
 std::string get_system_configuration()
 {

粤ICP备19079148号