mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-29 08:05:46 +03:00
adaddda871
Hookers Refactoring Removed __MAKE_VHOOK Fix compilation under linux with ICC 17 (GCC 6.2)
27 lines
696 B
C
27 lines
696 B
C
#pragma once
|
|
|
|
#include "hookers/memory.h"
|
|
#include "hookers/helper.h"
|
|
#include "hookers/hooker.h"
|
|
|
|
#define _LOG_TRACE\
|
|
static int iNumPassed = 0;\
|
|
printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed++);
|
|
|
|
#define _LOG_TRACE2\
|
|
static int iNumPassed2 = 0;\
|
|
printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed2++);\
|
|
_logf("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed2++);
|
|
|
|
#ifdef HOOK_GAMEDLL
|
|
// STL containers Visual Studio 6.0
|
|
#include "stl/vector"
|
|
#include "stl/list"
|
|
|
|
#define STD_LIST list_vs6 // use STL containers of the old version from Visual Studio 6.0 sp6
|
|
#define STD_VECTOR vector_vs6
|
|
#else
|
|
#define STD_LIST list
|
|
#define STD_VECTOR vector
|
|
#endif // HOOK_GAMEDLL
|