summaryrefslogtreecommitdiff
path: root/src/os/windows/win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/windows/win32.cpp')
-rw-r--r--src/os/windows/win32.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/windows/win32.cpp b/src/os/windows/win32.cpp
index bac1416e4..0867adb99 100644
--- a/src/os/windows/win32.cpp
+++ b/src/os/windows/win32.cpp
@@ -29,7 +29,10 @@
#include <errno.h>
#include <sys/stat.h>
+/* Due to TCHAR, strncat and strncpy have to remain (for a while). */
#include "../../safeguards.h"
+#undef strncat
+#undef strncpy
static bool _has_console;
static bool _cursor_disable = true;