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:
Spoike 2008-11-12 04:19:22 +00:00
parent 308962afa9
commit 498173e878
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)
{