From 2f340b13b21b7f64ae67952e64e7b652cd8b2c9d Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 4 Sep 2025 01:21:13 -0500 Subject: [PATCH] [ox/std] Fix Windows GCC build --- deps/ox/src/ox/std/assert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/assert.cpp b/deps/ox/src/ox/std/assert.cpp index 53843519..3ac0fe42 100644 --- a/deps/ox/src/ox/std/assert.cpp +++ b/deps/ox/src/ox/std/assert.cpp @@ -33,7 +33,7 @@ void panic(StringViewCR file, int const line, StringViewCR panicMsg, Error const #endif } -#if __GNUC__ +#if __GNUC__ && !_WIN32 __attribute__((weak)) #endif void panic(const char *file, int const line, char const*panicMsg, Error const&err) noexcept {