]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
sys: attempt to placate Microsoft's compiler
[xonotic/darkplaces.git] / 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];