mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
It has come to light that I suck. This incorporates the fixes already made to sys_linux since my huge commit. Again, these have not been tested. But they are more likely to work properly... As in the syntax errors are fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3056 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
308962afa9
commit
498173e878
2 changed files with 3 additions and 3 deletions
|
@ -350,12 +350,12 @@ void Sys_UnloadGame(void)
|
|||
|
||||
void Sys_CloseLibrary(dllhandle_t *lib)
|
||||
{
|
||||
dlclose((void*)lib)
|
||||
dlclose((void*)lib);
|
||||
}
|
||||
dllhandle_t *Sys_LoadLibrary(char *name, dllfunction_t *funcs)
|
||||
{
|
||||
int i;
|
||||
HMODULE lib;
|
||||
dllhandle_t lib;
|
||||
|
||||
lib = dlopen (name, RTLD_LAZY);
|
||||
if (!lib)
|
||||
|
|
|
@ -153,7 +153,7 @@ void *Sys_GetGameAPI (void *parms)
|
|||
|
||||
void Sys_CloseLibrary(dllhandle_t *lib)
|
||||
{
|
||||
SDL_UnloadObject((void*)lib)
|
||||
SDL_UnloadObject((void*)lib);
|
||||
}
|
||||
dllhandle_t *Sys_LoadLibrary(char *name, dllfunction_t *funcs)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue