diff --git a/src/common.h b/src/common.h index 5bc3002e..9a405a95 100644 --- a/src/common.h +++ b/src/common.h @@ -10,6 +10,14 @@ #include + +#ifdef LINUX +#define IPC_ENABLED 1 +#else +#undef IPC_ENABLED +#endif + + #include "beforecheaders.h" #include #include @@ -132,13 +140,6 @@ constexpr T _clamp(T _min, T _max, T _val) { #endif #define GET_RENDER_CONTEXT (TF2 ? g_IMaterialSystem->GetRenderContext() : g_IMaterialSystemHL->GetRenderContext()) - -#ifdef LINUX -#define IPC_ENABLED 1 -#else -#undef IPC_ENABLED -#endif - /*#define ADD_HACK(x) \ hack::AddHack(g_ph##x = new x());