From 52e7244cbbfb50d90ea2f38cd7bbaafdacf26584 Mon Sep 17 00:00:00 2001 From: Mustafa Furkan Bulut Date: Sun, 23 Aug 2026 23:00:58 +0300 Subject: [PATCH] add windows to the list --- src/build_settings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 7932bd635..453934949 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -2630,12 +2630,13 @@ gb_internal bool init_build_paths(String init_filename) { if (build_context.no_crt && !build_context.no_thread_local) { switch (build_context.metrics.os) { + case TargetOs_windows: case TargetOs_linux: case TargetOs_darwin: case TargetOs_freebsd: case TargetOs_openbsd: case TargetOs_netbsd: - gb_printf_err("-no-crt on Unix systems requires the -no-thread-local flag to also be present, because the TLS is inaccessible without CRT\n"); + gb_printf_err("-no-crt requires the -no-thread-local flag to also be present, because the TLS is inaccessible without CRT\n"); no_crt_checks_failed = true; } }