Fixes to network refactoring (#11)

This commit is contained in:
Michał Janiszewski 2016-05-28 22:37:54 +02:00 committed by Ted John
parent d69ca7f479
commit 3a697609a5
4 changed files with 14 additions and 11 deletions

View File

@ -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

View File

@ -17,6 +17,7 @@
#pragma once
#include <vector>
#include <string>
#include "../common.h"
class NetworkAction

View File

@ -15,7 +15,7 @@
#pragma endregion
#include <string>
#include <sdl/SDL_thread.h>
#include <SDL_thread.h>
#include "NetworkAddress.h"
NetworkAddress::NetworkAddress()

View File

@ -17,7 +17,7 @@
#pragma once
#include <memory>
#include <sdl/SDL_mutex.h>
#include <SDL_mutex.h>
#include "NetworkTypes.h"
#include "../common.h"