summaryrefslogtreecommitdiff
path: root/src/os/windows
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-01-18 10:11:27 +0000
committersmatz <smatz@openttd.org>2010-01-18 10:11:27 +0000
commit9fc910fbc2ec3c6739f0d22007d26f6d1bc27a13 (patch)
tree86b7bf7ded4363a005620d1157f864a42f55ff25 /src/os/windows
parent23a8d2239f22940553ff02bb652cb19a6a0feb64 (diff)
downloadopenttd-9fc910fbc2ec3c6739f0d22007d26f6d1bc27a13.tar.xz
(svn r18855) -Codechange: record compiler name and version in the crash log
Diffstat (limited to 'src/os/windows')
-rw-r--r--src/os/windows/crashlog_win.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp
index 30a4cf7db..7656f7c26 100644
--- a/src/os/windows/crashlog_win.cpp
+++ b/src/os/windows/crashlog_win.cpp
@@ -78,18 +78,12 @@ public:
return buffer + seprintf(buffer, last,
"Operating system:\n"
- " Name: Windows\n"
- " Release: %d.%d.%d (%s)\n"
- " MSVC: %s\n\n",
+ " Name: Windows\n"
+ " Release: %d.%d.%d (%s)\n",
(int)os.dwMajorVersion,
(int)os.dwMinorVersion,
(int)os.dwBuildNumber,
- os.szCSDVersion,
-#if defined(_MSC_VER)
- "Yes"
-#else
- "No"
-#endif
+ os.szCSDVersion
);
}