[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 7dc7bf138f
commit c901fe74f9

View file

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