mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fixes to network refactoring (#11)
This commit is contained in:
parent
d69ca7f479
commit
3a697609a5
20
src/common.h
20
src/common.h
|
@ -35,16 +35,18 @@
|
|||
#endif
|
||||
|
||||
#ifdef PLATFORM_X86
|
||||
#ifdef __GNUC__
|
||||
#define FASTCALL __attribute__((fastcall))
|
||||
#elif _MSC_VER
|
||||
#define FASTCALL __fastcall
|
||||
#else
|
||||
#pragma message "Not using fastcall calling convention, please check your compiler support"
|
||||
#define FASTCALL
|
||||
#endif
|
||||
#ifndef FASTCALL
|
||||
#ifdef __GNUC__
|
||||
#define FASTCALL __attribute__((fastcall))
|
||||
#elif _MSC_VER
|
||||
#define FASTCALL __fastcall
|
||||
#else
|
||||
#pragma message "Not using fastcall calling convention, please check your compiler support"
|
||||
#define FASTCALL
|
||||
#endif
|
||||
#endif // FASTCALL
|
||||
#else // PLATFORM_X86
|
||||
#define FASTCALL
|
||||
#define FASTCALL
|
||||
#endif // PLATFORM_X86
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "../common.h"
|
||||
|
||||
class NetworkAction
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#pragma endregion
|
||||
|
||||
#include <string>
|
||||
#include <sdl/SDL_thread.h>
|
||||
#include <SDL_thread.h>
|
||||
#include "NetworkAddress.h"
|
||||
|
||||
NetworkAddress::NetworkAddress()
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <sdl/SDL_mutex.h>
|
||||
#include <SDL_mutex.h>
|
||||
#include "NetworkTypes.h"
|
||||
#include "../common.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue