From d1e0a40ae6f4afbccb524ede27e6d32ea31f9941 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Wed, 10 Jan 2024 13:09:58 +1000 Subject: [PATCH] sys: attempt to placate Microsoft's compiler Signed-off-by: bones_was_here --- sys_shared.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys_shared.c b/sys_shared.c index 6cfe9213..88454e62 100644 --- a/sys_shared.c +++ b/sys_shared.c @@ -38,6 +38,11 @@ #include "thread.h" #include "libcurl.h" +#ifdef WIN32 + // Microsoft's compiler complains about portable code + #pragma warning(disable : 4996) +#endif + sys_t sys; static char sys_timestring[128]; -- 2.39.2