[qfvis] Fix pthread portability macros

Those that were defined were incorrectly defined (didn't swallow the
parameter), and portal lock macros were missing.
This commit is contained in:
Bill Currie 2021-03-26 15:27:48 +09:00
parent f85836762a
commit 9b51907ec8
1 changed files with 5 additions and 2 deletions

View File

@ -65,8 +65,11 @@ extern pthread_rwlock_t *portal_locks;
#define UNLOCK_PORTAL(p) UNLOCK (&portal_locks[p - portals])
#else
#define LOCK
#define UNLOCK
#define LOCK(l)
#define UNLOCK(l)
#define WRLOCK_PORTAL(p)
#define RDLOCK_PORTAL(p)
#define UNLOCK_PORTAL(p)
#endif
#include "QF/set.h"