ReChecker/src/precompiled.h
s1lentq d76230de9e Fix date from logs
Added prevfiles at logs
2022-09-25 00:01:38 +07:00

49 lines
1.0 KiB
C++

#pragma once
#ifdef _WIN32 // WINDOWS
#pragma warning(disable : 4005)
#else
#define _stricmp strcasecmp
#define _mkdir mkdir
// Deail with stupid macro in kernel.h
#undef __FUNCTION__
#endif // _WIN32
#define MAX_PATH_LENGTH 260
#include <list>
#include <vector>
#include <cstring> // strrchr
#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 "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)
#else
#define DLLEXPORT __attribute__((visibility("default")))
#define NOINLINE __attribute__((noinline))
#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, ...);