foolish
This commit is contained in:
parent
f60f9ba051
commit
98ad2e9422
15
src/common.h
15
src/common.h
@ -10,6 +10,14 @@
|
|||||||
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef LINUX
|
||||||
|
#define IPC_ENABLED 1
|
||||||
|
#else
|
||||||
|
#undef IPC_ENABLED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "beforecheaders.h"
|
#include "beforecheaders.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
@ -132,13 +140,6 @@ constexpr T _clamp(T _min, T _max, T _val) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GET_RENDER_CONTEXT (TF2 ? g_IMaterialSystem->GetRenderContext() : g_IMaterialSystemHL->GetRenderContext())
|
#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) \
|
/*#define ADD_HACK(x) \
|
||||||
hack::AddHack(g_ph##x = new x());
|
hack::AddHack(g_ph##x = new x());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user