From 92c0a4c370e01a19b3579b0118bc83071c0c3668 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Wed, 30 Jul 2008 09:12:52 +0000 Subject: 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 --- Source/Core/Common/Src/MemoryUtil.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/Common/Src/MemoryUtil.cpp') 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 #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 -- cgit v1.2.3