mirror of
https://github.com/rehlds/metamod-r.git
synced 2025-02-05 10:10:38 +03:00
Fix sdk
This commit is contained in:
parent
bb600d0e13
commit
7005773f10
@ -1,5 +1,19 @@
|
|||||||
#pragma once
|
#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)();
|
typedef void (*FN_GAMEINIT)();
|
||||||
|
|
||||||
// Typedefs for these are provided in SDK engine/eiface.h, but I didn't
|
// Typedefs for these are provided in SDK engine/eiface.h, but I didn't
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <util.h>
|
#include <extdll.h>
|
||||||
#include <dllapi.h>
|
#include "plinfo.h"
|
||||||
#include <plinfo.h>
|
|
||||||
|
|
||||||
// For GetGameInfo:
|
// For GetGameInfo:
|
||||||
enum ginfo_t
|
enum ginfo_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user