Gameconfig: Add game configs parser
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
#include "MemoryUtils.h"
|
||||
#include "amxxmodule.h"
|
||||
#include <stdio.h> // sscanf
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <fcntl.h>
|
||||
@ -159,6 +159,13 @@ void *MemoryUtils::ResolveSymbol(void *handle, const char *symbol)
|
||||
|
||||
#elif defined(__linux__)
|
||||
|
||||
void *addr = dlsym(handle, symbol);
|
||||
|
||||
if (addr)
|
||||
{
|
||||
return addr;
|
||||
}
|
||||
|
||||
struct link_map *dlmap;
|
||||
struct stat dlstat;
|
||||
int dlfile;
|
||||
|
Reference in New Issue
Block a user