|
@@ -7,18 +7,12 @@
|
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
*/
|
|
|
|
|
|
/** @file crashlog_win.cpp Implementation of a crashlogger for Windows */
|
|
|
|
|
|
#include "../../stdafx.h"
|
|
|
#if defined(_MSC_VER) && defined(_M_AMD64)
|
|
|
/* Redefine WinNT version to get RtlCaptureContext prototype. */
|
|
|
#undef _WIN32_WINNT
|
|
|
#undef NTDDI_VERSION
|
|
|
#define _WIN32_WINNT _WIN32_WINNT_WINXP
|
|
|
#endif /* defined(_MSC_VER) && defined(_M_AMD64) */
|
|
|
#include "../../crashlog.h"
|
|
|
#include "win32.h"
|
|
|
#include "../../core/alloc_func.hpp"
|
|
|
#include "../../core/math_func.hpp"
|
|
|
#include "../../string_func.h"
|
|
|
#include "../../fileio_func.h"
|