From 8125684ee5467916bfde0df19d9c126aa8717666 Mon Sep 17 00:00:00 2001 From: Omar Aglan Date: Mon, 16 Nov 2026 18:28:21 +0300 Subject: [PATCH 1/2] build(mingw): Fix the strtok_r declaration conflict with MinGW-w64 when building without precompiled headers --- Core/Libraries/Source/WWVegas/WWLib/strtok_r.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h b/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h index 0d0d22d691b..ec7530d6182 100644 --- a/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h +++ b/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h @@ -36,6 +36,9 @@ #pragma once +// TheSuperHackers @build OmarAglan 16/11/2026 Include string.h first so that the C linkage declaration of strtok_r in MinGW-w64 comes before this one. +#include + #ifndef _UNIX char *strtok_r(char *strptr, const char *delimiters, char **lasts); #endif From d0640d53cfc0df382e5c082063173910195cf4b8 Mon Sep 17 00:00:00 2001 From: Omar Aglan Date: Tue, 17 Nov 2026 12:33:41 +0300 Subject: [PATCH 2/2] Remove the comment --- Core/Libraries/Source/WWVegas/WWLib/strtok_r.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h b/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h index ec7530d6182..d08d777628a 100644 --- a/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h +++ b/Core/Libraries/Source/WWVegas/WWLib/strtok_r.h @@ -36,7 +36,6 @@ #pragma once -// TheSuperHackers @build OmarAglan 16/11/2026 Include string.h first so that the C linkage declaration of strtok_r in MinGW-w64 comes before this one. #include #ifndef _UNIX