diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-01-06 23:39:21 +0000 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-01-06 23:39:21 +0000 |
commit | 4ed68f73dae9e7621d7d7512b5feb686e9440bb2 (patch) | |
tree | 9646293b25a5a49b517d776baccce7ddff52a293 /src/tier0stub.c | |
parent | c3ecdf5caf17825b047e4d8b5d979986cbe380b0 (diff) |
Tidy up stubs, make vstdlib a stub, build on Linux
Important note: it doesn't WORK on Linux, and there's tons of warnings
and stuff, but it's easier to work on when all the compiler output and
whatnot is there.
Diffstat (limited to 'src/tier0stub.c')
-rw-r--r-- | src/tier0stub.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/tier0stub.c b/src/tier0stub.c deleted file mode 100644 index a043bea..0000000 --- a/src/tier0stub.c +++ /dev/null @@ -1,19 +0,0 @@ -/* This file is dedicated to the public domain. */ - -// Produce a dummy tier0.dll/libtier0.so to allow linking without dlsym faff. -// Windows needs additional care because it's dumb. - -#ifdef _WIN32 -#define F(name) __declspec(dllexport) void name(void) {} -#define V(name) __declspec(dllexport) void *name; -#else -#define F(name) void *name; -#define V(name) void *name; -#endif - -F(Msg); -F(Warning); -// F(Error); // unused in plugin -V(g_pMemAlloc); - -// vi: sw=4 ts=4 noet tw=80 cc=80 |