mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2025-12-05 21:15:39 -05:00
Fix #if directives
This commit is contained in:
2
KoalaBox
2
KoalaBox
Submodule KoalaBox updated: 67703a72fd...173e220abb
@@ -25,15 +25,14 @@
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
// Nested #if directives lead to unexpected evaluates, so it's best to keep conditions flat.
|
||||
#if defined(KB_WIN)
|
||||
#include "koalabox/win.hpp"
|
||||
#elif defined(KB_LINUX)
|
||||
#if defined(KB_32)
|
||||
#elif defined(KB_LINUX) && defined(KB_32)
|
||||
#include "generated/32/proxy_exports.hpp"
|
||||
#else
|
||||
#elif defined(KB_LINUX) && defined(KB_64)
|
||||
#include "generated/64/proxy_exports.hpp"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Hooking steam_api has shown itself to be less desirable than steamclient
|
||||
// for the reasons outlined below:
|
||||
|
||||
Reference in New Issue
Block a user