ReChecker/src/precompiled.h

42 lines
909 B
C
Raw Normal View History

2015-11-01 04:50:24 +06:00
#pragma once
2015-11-09 00:38:31 +06:00
#ifdef _WIN32 // WINDOWS
#pragma warning(disable : 4005)
#else
#define _stricmp strcasecmp
// Deail with stupid macro in kernel.h
#undef __FUNCTION__
2015-11-09 00:38:31 +06:00
#endif // _WIN32
#include <vector>
2015-11-09 00:38:31 +06:00
#include <cstring> // strrchr
2015-11-01 04:50:24 +06:00
#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 "resource.h"
2015-11-09 00:38:31 +06:00
#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, ...);
2015-11-01 04:50:24 +06:00