1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Fix include order and defines for Windows builds

This commit is contained in:
Hielke Morsink
2018-06-18 18:46:49 +02:00
parent 79f1cf5a5c
commit ce59ed0ba2
7 changed files with 29 additions and 19 deletions

View File

@@ -7,25 +7,24 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include <cassert>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include "../common.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#include "../Version.h"
#include "../common.h"
#include "Console.hpp"
#include "Diagnostics.hpp"
#include "Guard.hpp"
#include "String.hpp"
void openrct2_assert_fwd(bool expression, const char * message, ...)
#include <cassert>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
void openrct2_assert_fwd(bool expression, const char* message, ...)
{
va_list va;
va_start(va, message);