summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-01-13 16:12:52 +0000
committerCharles Pigott <charlespigott@googlemail.com>2019-01-17 21:55:15 +0000
commitfe8c24e0817a04ea7719372156d2aa674939b479 (patch)
tree088589f32eafb3043423927b85e54fa0f2cd798d /src/os
parent2d981a4b2c63f5a1ae28aa49c8622503c31ffc3e (diff)
downloadopenttd-fe8c24e0817a04ea7719372156d2aa674939b479.tar.xz
Codechange: Remove unnecessarily defined functions under MinGW
Diffstat (limited to 'src/os')
-rw-r--r--src/os/windows/win32.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/os/windows/win32.cpp b/src/os/windows/win32.cpp
index a84347ed1..4a4955549 100644
--- a/src/os/windows/win32.cpp
+++ b/src/os/windows/win32.cpp
@@ -31,10 +31,7 @@
#include <sys/stat.h>
#include "../../language.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;