Browse Source

Compilation on Windows

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1383 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.62
sletz 19 years ago
parent
commit
170727cd19
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/JackShmMem.h

+ 2
- 2
common/JackShmMem.h View File

@@ -32,8 +32,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <windows.h>
#define CHECK_MLOCK(ptr, size) (VirtualLock((ptr), (size)) != 0)
#define CHECK_MUNLOCK(ptr, size) (VirtualUnlock((ptr), (size)) != 0)
#define CHECK_MLOCKALL()
#define CHECK_MUNLOCKALL()
#define CHECK_MLOCKALL()(false)
#define CHECK_MUNLOCKALL()(false)
#else
#include <sys/types.h>
#include <sys/mman.h>


Loading…
Cancel
Save