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

This commit is contained in:
Loïc Guilloux
2021-04-29 14:26:08 +02:00
committed by GitHub
parent 20ac0b4148
commit 356bbbb90a
5 changed files with 18 additions and 13 deletions

View File

@@ -7,11 +7,12 @@
/** @file script_date.cpp Implementation of ScriptDate. */
#include <time.h>
#include "../../stdafx.h"
#include "script_date.hpp"
#include "../../date_func.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