Slightly cleanup of mmap(2) flags:

Move MAP_32BIT to MemoryUtil.h.
MAP_VARIABLE is simply the absence of MAP_FIXED.
Replace MAP_ANONYMOUS with the more traditional MAP_ANON - Linux is compatible.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5899 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-07-18 05:15:16 +00:00
parent 8208903fed
commit caeabf8bea
3 changed files with 11 additions and 17 deletions

View File

@ -114,10 +114,6 @@ extern const char *netplay_dolphin_ver;
#include "Config.h" // SCons autoconfiguration defines
#endif
#ifndef __linux__
#define MAP_32BIT 0 // MAP_32BIT is a Linux-specific mmap(2) flag
#endif
// Windows compatibility
#ifndef _WIN32
#include <limits.h>