| ... | ... | @@ -6864,8 +6864,11 @@ fn addCommonCCArgs( |
| 6864 | 6864 | }, |
| 6865 | 6865 | } |
| 6866 | 6866 | |
| 6867 | | // Homebrew targets without LLVM support; use communities's preferred macros. |
| 6868 | 6867 | switch (target.os.tag) { |
| 6868 | // LLVM doesn't distinguish between Solaris and illumos, but the illumos GCC fork |
| 6869 | // defines this macro. |
| 6870 | .illumos => try argv.append("__illumos__"), |
| 6871 | // Homebrew targets without LLVM support; use communities's preferred macros. |
| 6869 | 6872 | .@"3ds" => try argv.append("-D__3DS__"), |
| 6870 | 6873 | .vita => try argv.append("-D__vita__"), |
| 6871 | 6874 | else => {}, |