From: bones_was_here Date: Wed, 10 Jan 2024 03:09:58 +0000 (+1000) Subject: sys: attempt to placate Microsoft's compiler X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d1e0a40ae6f4afbccb524ede27e6d32ea31f9941;p=xonotic%2Fdarkplaces.git sys: attempt to placate Microsoft's compiler Signed-off-by: bones_was_here --- 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];