]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
common: Use static_assert to prohibit unsafe functions more cleanly. Fixes compile...
[xonotic/darkplaces.git] / sys_sdl.c
index 15a626d315421a89358ba4a910031d77441b6a19..3f37a8e4f0af84045d82228817d890117bfe0816 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -1,5 +1,5 @@
 #ifdef WIN32
-#include <io.h>
+#include <io.h> // Include this BEFORE darkplaces.h because it uses strncpy which trips DP_STATIC_ASSERT
 #include "conio.h"
 #else
 #include <unistd.h>