Fix: [MinGW] Set minimum OS version to Windows XP (#9135)

(cherry picked from commit 356bbbb90a)
This commit is contained in:
Loïc Guilloux
2021-04-29 14:26:08 +02:00
committed by Jonathan G Rennison
parent 4fc433c871
commit 88bc7bd235
5 changed files with 18 additions and 12 deletions

View File

@@ -7,12 +7,13 @@
/** @file script_date.cpp Implementation of ScriptDate. */
#include <time.h>
#include "../../stdafx.h"
#include "script_date.hpp"
#include "../../date_func.h"
#include "../../settings_type.h"
#include <time.h>
#include "../../safeguards.h"
/* static */ bool ScriptDate::IsValidDate(Date date)

View File

@@ -7,8 +7,6 @@
/** @file squirrel.cpp the implementation of the Squirrel class. It handles all Squirrel-stuff and gives a nice API back to work with. */
#include <stdarg.h>
#include <map>
#include "../stdafx.h"
#include "../debug.h"
#include "squirrel_std.hpp"
@@ -21,6 +19,9 @@
#include <../squirrel/sqvm.h>
#include "../core/alloc_func.hpp"
#include <stdarg.h>
#include <map>
/**
* In the memory allocator for Squirrel we want to directly use malloc/realloc, so when the OS
* does not have enough memory the game does not go into unrecoverable error mode and kill the