summaryrefslogtreecommitdiff
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
commit3ba47883c03ed4736afa02771ba0883201e82199 (patch)
tree6f883e8c308c320f0fe5ddb76bf7abf7d5441cea
parent6007500fafae98c1b8a5abe95f3719aa093883db (diff)
downloadopenttd-3ba47883c03ed4736afa02771ba0883201e82199.tar.xz
(svn r12981) -Codechange: remove some useless includes and defines
-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