mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Merge branch 'overlay_h' of https://gitlab.com/Nemirtingas/goldberg_emulator
# Conflicts: # build_steamos.sh # dll/dll.cpp
This commit is contained in:
commit
ffdaf72597
74 changed files with 49147 additions and 852 deletions
26
dll/base.h
26
dll/base.h
|
|
@ -18,7 +18,29 @@
|
|||
#ifndef BASE_INCLUDE
|
||||
#define BASE_INCLUDE
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#if defined(WIN64) || defined(_WIN64) || defined(__MINGW64__)
|
||||
#define __WINDOWS_64__
|
||||
#elif defined(WIN32) || defined(_WIN32) || defined(__MINGW32__)
|
||||
#define __WINDOWS_32__
|
||||
#endif
|
||||
|
||||
#if defined(__WINDOWS_32__) || defined(__WINDOWS_64__)
|
||||
#define __WINDOWS__
|
||||
#endif
|
||||
|
||||
#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__
|
||||
#endif
|
||||
|
||||
#if defined(__WINDOWS__)
|
||||
#define STEAM_WIN32
|
||||
#pragma warning( disable : 4716)
|
||||
#ifndef NOMINMAX
|
||||
|
|
@ -210,7 +232,7 @@ public:
|
|||
if (it != cr.callbacks.end()) {
|
||||
cr.callbacks.erase(it);
|
||||
}
|
||||
|
||||
|
||||
if (cr.callbacks.size() == 0) {
|
||||
cr.to_delete = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue