|
|
@@ -21,7 +21,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
|
#ifndef __JackShmMem_WIN32__ |
|
|
|
#define __JackShmMem_WIN32__ |
|
|
|
|
|
|
|
#include <windows.h> |
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
// See GetProcessWorkingSetSize and SetProcessWorkingSetSize |
|
|
|
|
|
|
|
#define CHECK_MLOCK(ptr, size) (VirtualLock((ptr), (size)) != 0) |
|
|
|
#define CHECK_MUNLOCK(ptr, size) (VirtualUnlock((ptr), (size)) != 0) |
|
|
|