mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-12 23:58:07 +01:00
Added linux arch define
This commit is contained in:
parent
549dc7c50e
commit
dd13377be7
1 changed files with 10 additions and 2 deletions
12
dll/base.h
12
dll/base.h
|
@ -29,10 +29,18 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__) || defined(linux)
|
#if defined(__linux__) || defined(linux)
|
||||||
#define __LINUX__
|
#if defined(__x86_64__)
|
||||||
|
#define __LINUX_64__
|
||||||
|
#else
|
||||||
|
#define __LINUX_32__
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) || defined(_WIN32)
|
#if defined(__LINUX_32__) || defined(__LINUX_64__)
|
||||||
|
#define __LINUX__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__WINDOWS__)
|
||||||
#define STEAM_WIN32
|
#define STEAM_WIN32
|
||||||
#pragma warning( disable : 4716)
|
#pragma warning( disable : 4716)
|
||||||
#ifndef NOMINMAX
|
#ifndef NOMINMAX
|
||||||
|
|
Loading…
Reference in a new issue