1
0
Fork 0

Use SPECTRE_PLATFORM_* defines instead of raw compiler ones.

This commit is contained in:
Henrik Hautakoski 2020-12-26 17:25:25 +01:00
parent 2eec1c9f75
commit 81c7e34c58
4 changed files with 8 additions and 8 deletions

View file

@ -1,10 +1,10 @@
#include <Spectre/System/MessageQueue.h>
#ifdef _WIN32
#ifdef SPECTRE_PLATFORM_WIN
#include <Platform/Win32/Win32EventQueue.h>
typedef sp::Win32EventQueue ImplType;
#elif defined(__linux__) || defined(unix) || defined(__unix) || defined(__unix__)
#elif SPECTRE_PLATFORM_UNIX
#include <Platform/Unix/X11EventQueue.h>
typedef sp::X11EventQueue ImplType;
#else