mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Modified SDK for GCC 4.2
This commit is contained in:
@ -40,11 +40,18 @@
|
||||
#include <dlfcn.h> // dlopen,dlclose, et al
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef HMODULE
|
||||
#define HMODULE void *
|
||||
#define GetProcAddress dlsym
|
||||
#endif
|
||||
|
||||
#ifndef GetProcAddress
|
||||
#define GetProcAddress dlsym
|
||||
#endif
|
||||
|
||||
#ifndef _snprintf
|
||||
#define _snprintf snprintf
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// TODO: move interface.cpp into tier0 library.
|
||||
#include "tier0/platform.h"
|
||||
|
Reference in New Issue
Block a user