mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-23 04:01:59 +00:00
Set platform defines correctly in Platform.h
This commit is contained in:
parent
66ade327db
commit
650e966bfe
1 changed files with 11 additions and 3 deletions
|
@ -1,8 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#define PLATFORM_LINUX
|
||||
#define PLATFORM_MAC
|
||||
#define PLATFORM_WINDOWS
|
||||
#ifdef __linux__
|
||||
#define PLATFORM_LINUX
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#define PLATFORM_WINDOWS
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define PLATFORM_MAC
|
||||
#endif
|
||||
|
||||
#if defined(PLATFORM_LINUX) || defined(PLATFORM_MAC)
|
||||
#define PLATFORM_UNIX
|
||||
|
|
Loading…
Reference in a new issue