重命名为 XY_Build_On_xx

This commit is contained in:
Aoran Zeng
2025-08-20 22:05:07 +08:00
parent 9d7543b681
commit e6d512eb83
5 changed files with 20 additions and 13 deletions

View File

@@ -125,7 +125,7 @@ pl_python_uv_setsrc (char *option)
const char *source_content = xy_str_gsub (RAWSTR_pl_python_uv_config_source_content, "@url@", source.url);
#if defined(XY_On_macOS) || defined(XY_On_BSD)
#if defined(XY_Build_On_macOS) || defined(XY_Build_On_BSD)
char *sed_cmd = "sed -i '' ";
#else
char *sed_cmd = "sed -i ";

View File

@@ -62,7 +62,7 @@ pl_rust_rustup_setsrc (char *option)
{
use_this_source(pl_rust_rustup);
#ifdef XY_On_Windows
#ifdef XY_Build_On_Windows
char *cmd1 = xy_strcat (3, "setx RUSTUP_DIST_SERVER \"", source.url, "\"");
char *cmd2 = xy_strcat (3, "setx RUSTUP_UPDATE_ROOT \"", source.url, "/rustup\"");