authorgravatar for drex_vk@noreply.codeberg.orgdrex_vk <drex_vk@noreply.codeberg.org> 2026-08-07 15:49:15+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-07 15:49:15+02:00
log7b720ad26b589764078330aa924bde79c627c8f8
tree23ddad89aef5e860b385177dd923db8f8c18b5cc
parent340e53a65e8175b6d98b11ec2f33461395f722d1

bootstrap.c: fix __WIN32__ macro -> _WIN32

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/35963

1 files changed, 2 insertions(+), 2 deletions(-)

bootstrap.c+2-2
......@@ -56,7 +56,7 @@ static void panic(const char *reason) {
5656 #define GCC_BUG_119085_PRESENT 0
5757#endif
5858
59#if defined(__WIN32__)
59#if defined(_WIN32)
6060#error TODO write the functionality for executing child process into this build script
6161#else
6262
......@@ -99,7 +99,7 @@ static void print_and_run(const char **argv) {
9999static const char *get_host_os(void) {
100100 const char *host_os = getenv("ZIG_HOST_TARGET_OS");
101101 if (host_os != NULL) return host_os;
102#if defined(__WIN32__)
102#if defined(_WIN32)
103103 return "windows";
104104#elif defined(__APPLE__)
105105 return "macos";