]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
sys: attempt to placate Microsoft's compiler
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 10 Jan 2024 03:09:58 +0000 (13:09 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 18 Jan 2024 04:24:27 +0000 (14:24 +1000)
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
sys_shared.c

index 6cfe9213cded7209365dadec923b7598a7bdf62e..88454e62fe7b1d1d72d550ab1c1ad4e9c59a1776 100644 (file)
 #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];