|
|
|
@ -18,6 +18,20 @@
|
|
|
|
|
#ifndef BASE_INCLUDE
|
|
|
|
|
#define BASE_INCLUDE
|
|
|
|
|
|
|
|
|
|
#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)
|
|
|
|
|
#define __LINUX__
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if defined(WIN32) || defined(_WIN32)
|
|
|
|
|
#define STEAM_WIN32
|
|
|
|
|
#pragma warning( disable : 4716)
|
|
|
|
@ -205,7 +219,7 @@ public:
|
|
|
|
|
if (it != cr.callbacks.end()) {
|
|
|
|
|
cr.callbacks.erase(it);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (cr.callbacks.size() == 0) {
|
|
|
|
|
cr.to_delete = true;
|
|
|
|
|
}
|
|
|
|
|