mirror of
https://github.com/rehlds/metamod-r.git
synced 2025-01-27 05:58:20 +03:00
Fix sdk
This commit is contained in:
parent
bb600d0e13
commit
7005773f10
@ -1,5 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include <eiface.h>
|
||||
|
||||
#ifndef DLLEXPORT
|
||||
#ifdef _WIN32
|
||||
#define DLLEXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define DLLEXPORT __attribute__((visibility("default")))
|
||||
#endif // _WIN32
|
||||
#endif // DLLEXPORT
|
||||
|
||||
#ifndef C_DLLEXPORT
|
||||
#define C_DLLEXPORT extern "C" DLLEXPORT
|
||||
#endif
|
||||
|
||||
typedef void (*FN_GAMEINIT)();
|
||||
|
||||
// Typedefs for these are provided in SDK engine/eiface.h, but I didn't
|
||||
|
@ -1,8 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <util.h>
|
||||
#include <dllapi.h>
|
||||
#include <plinfo.h>
|
||||
#include <extdll.h>
|
||||
#include "plinfo.h"
|
||||
|
||||
// For GetGameInfo:
|
||||
enum ginfo_t
|
||||
|
Loading…
x
Reference in New Issue
Block a user