1
0
Fork 0
forked from fte/fteqw

Fix plugins on win32.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5536 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-09-05 15:39:11 +00:00
parent 45f567dc34
commit 5b7e52eda4
2 changed files with 2 additions and 3 deletions

View file

@ -14,7 +14,7 @@
static size_t activempqcount; //number of active archives. we can't unload the dll while we still have files open.
#ifdef MULTITHREAD
static plugthreadfuncs_t *threading;
#define Sys_CreateMutex if(threading)threading->CreateMutex
#define Sys_CreateMutex() (threading?threading->CreateMutex():NULL)
#define Sys_LockMutex if(threading)threading->LockMutex
#define Sys_UnlockMutex if(threading)threading->UnlockMutex
#define Sys_DestroyMutex if(threading)threading->DestroyMutex

View file

@ -1,3 +1,2 @@
EXPORTS
vmMain
dllEntry
FTEPlug_Init