From 98ad2e94226044c2e7e8743220951ef28bb21487 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Thu, 4 May 2017 18:33:22 +0300 Subject: [PATCH] foolish --- src/common.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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());