Remove some hopefully unnecessary references to global namespace

This commit is contained in:
Chris Cannam
2021-10-12 16:27:19 +01:00
parent 9394a9ad09
commit e868ff32de
3 changed files with 39 additions and 9 deletions

View File

@@ -135,8 +135,8 @@ extern void system_memorybarrier();
#include <dlfcn.h>
#include <stdio.h>
#define MLOCK(a,b) ::mlock((char *)(a),(b))
#define MUNLOCK(a,b) (::munlock((char *)(a),(b)) ? (::perror("munlock failed"), 0) : 0)
#define MLOCK(a,b) mlock((char *)(a),(b))
#define MUNLOCK(a,b) (munlock((char *)(a),(b)) ? (perror("munlock failed"), 0) : 0)
#define MUNLOCK_SAMPLEBLOCK(a) do { if (!(a).empty()) { const float &b = *(a).begin(); MUNLOCK(&b, (a).capacity() * sizeof(float)); } } while(0);
#ifdef __APPLE__