Added linux arch define

This commit is contained in:
Nemirtingas 2019-08-31 21:08:27 +02:00
parent 549dc7c50e
commit dd13377be7

View File

@ -29,10 +29,18 @@
#endif #endif
#if defined(__linux__) || defined(linux) #if defined(__linux__) || defined(linux)
#if defined(__x86_64__)
#define __LINUX_64__
#else
#define __LINUX_32__
#endif
#endif
#if defined(__LINUX_32__) || defined(__LINUX_64__)
#define __LINUX__ #define __LINUX__
#endif #endif
#if defined(WIN32) || defined(_WIN32) #if defined(__WINDOWS__)
#define STEAM_WIN32 #define STEAM_WIN32
#pragma warning( disable : 4716) #pragma warning( disable : 4716)
#ifndef NOMINMAX #ifndef NOMINMAX