Fix #if directives

This commit is contained in:
acidicoala
2025-10-07 00:54:52 +05:00
parent d5db62c2f2
commit 36d5143463
2 changed files with 4 additions and 5 deletions

View File

@@ -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: