summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-05-06 23:43:47 +0000
committerglx <glx@openttd.org>2008-05-06 23:43:47 +0000
commita9d263c459a05cd9ce6bca015f1db3f2b54a26e7 (patch)
tree6f883e8c308c320f0fe5ddb76bf7abf7d5441cea /src
parent3b9e4f6d178374b1e3c5cca1f2a60139d258b18e (diff)
downloadopenttd-a9d263c459a05cd9ce6bca015f1db3f2b54a26e7.tar.xz
(svn r12981) -Codechange: remove some useless includes and defines
Diffstat (limited to 'src')
-rw-r--r--src/win32.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index 8b2eef0de..5f3a1388a 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -36,10 +36,6 @@
static bool _has_console;
-#if defined(__MINGW32__)
- #include <stdint.h>
-#endif
-
static bool cursor_visible = true;
bool MyShowCursor(bool show)
@@ -935,15 +931,6 @@ void ShowInfo(const char *str)
}
}
-#ifdef __MINGW32__
- /* _set_error_mode() constants&function (do not exist in mingw headers) */
- #define _OUT_TO_DEFAULT 0
- #define _OUT_TO_STDERR 1
- #define _OUT_TO_MSGBOX 2
- #define _REPORT_ERRMODE 3
- int _set_error_mode(int);
-#endif
-
#if defined(WINCE)
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
#else