diff options
| author | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-07-30 09:12:52 +0000 |
|---|---|---|
| committer | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-07-30 09:12:52 +0000 |
| commit | 92c0a4c370e01a19b3579b0118bc83071c0c3668 (patch) | |
| tree | 53232c69af230d0880ff81ff7de97a8cd8c53560 /Source/Core/Common/Src/MemoryUtil.cpp | |
| parent | 19f3c986ff9dee8b171153e4fc8353bfa69f727b (diff) | |
Intel Macs: Provides fixes to help compile on Macs, thanks to tmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@104 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/MemoryUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/MemoryUtil.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/MemoryUtil.cpp b/Source/Core/Common/Src/MemoryUtil.cpp index 4694f3ca13..5b6ff6f11b 100644 --- a/Source/Core/Common/Src/MemoryUtil.cpp +++ b/Source/Core/Common/Src/MemoryUtil.cpp @@ -26,6 +26,10 @@ #include <stdio.h>
#endif
+#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
// MacOSX does not support MAP_VARIABLE
#ifndef MAP_VARIABLE
#define MAP_VARIABLE 0
|
