ReChecker/src/precompiled.h
s1lentq fc73912229 Update rehlsdk
Added support ReHLDS API 3.X
Refactoring
2022-09-25 00:01:42 +07:00

54 lines
1.2 KiB
C++

#pragma once
#ifndef _WIN32
#define _stricmp strcasecmp
#define _mkdir mkdir
#endif // _WIN32
#define MAX_PATH_LENGTH 260
#include <list>
#include <vector>
#include <cstring> // strrchr
#include <algorithm> // std::sort
#include <time.h> // time, localtime etc
#include <extdll.h>
#include <enginecallback.h> // ALERT()
#include <meta_api.h>
#include <h_export.h>
#include "rehlds_api.h"
#include "engine_rehlds.h"
#include "consistency.h"
#include "hookchains_impl.h"
#include "rechecker_api.h"
#include "rechecker_api_impl.h"
#include "main.h"
#include "task.h"
//#include "config.h"
#include "resource.h"
#include "cmdexec.h"
//#include "sdk_util.h" // UTIL_LogPrintf, etc
#undef DLLEXPORT
#ifdef _WIN32
#define DLLEXPORT __declspec(dllexport)
#define NOINLINE __declspec(noinline)
#define NORETURN __declspec(noreturn)
#else
#define DLLEXPORT __attribute__((visibility("default")))
#define NOINLINE __attribute__((noinline))
#define NORETURN __attribute__((noreturn))
#define WINAPI /* */
#endif // _WIN32
extern void UTIL_Printf(const char *fmt, ...);
extern void UTIL_LogPrintf(const char *fmt, ...);
extern char *UTIL_VarArgs(const char *format, ...);
extern void NORETURN Sys_Error(const char *error, ...);