From 437a823cb663a3c1e29241b272530b4bdde8562e Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 14 May 2026 15:08:30 -0500 Subject: [PATCH 1/3] fix: remove GetTickCount64() def in libutils/platform.h to work with newer mingw-w64 version 13 Ticket: CFE-4401 --- libutils/platform.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libutils/platform.h b/libutils/platform.h index 80eac96a..3196902f 100644 --- a/libutils/platform.h +++ b/libutils/platform.h @@ -191,10 +191,6 @@ struct utsname # define IPV6_V6ONLY 27 # endif -// Not available in MinGW headers unless you raise WINVER and _WIN32_WINNT, but -// that is very badly supported in MinGW ATM. -ULONGLONG WINAPI GetTickCount64(void); - #else /* !__MINGW32__ */ # include #endif From 7447ec50ee5a5232288b8fc71fda4b7a27f51707 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 14 May 2026 16:22:47 -0500 Subject: [PATCH 2/3] Added check for clock_gettime in pthread library for the case of mingw build Ticket: CFE-4401 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index bc2f1c50..5631eb00 100644 --- a/configure.ac +++ b/configure.ac @@ -497,6 +497,7 @@ dnl ###################################################################### AC_CHECK_LIB(m, sqrt) AC_CHECK_LIB(rt, clock_gettime) +AC_CHECK_LIB(pthread, clock_gettime) AC_CHECK_LIB(dl, dlopen) dnl ###################################################################### From 9b5ea22fbcd8b243918ed5d034292c9ea1c68dbe Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 14 May 2026 16:35:15 -0500 Subject: [PATCH 3/3] try including signal.h in signal_lib.h --- libutils/signal_lib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libutils/signal_lib.h b/libutils/signal_lib.h index 35a1752e..43c0e955 100644 --- a/libutils/signal_lib.h +++ b/libutils/signal_lib.h @@ -1,3 +1,5 @@ +#include + static inline void MaskTerminationSignalsInThread() { /* Mask termination signals in a thread so that they always end up in the