osx: define MAP_ANONYMOUS

This commit is contained in:
Linus Unnebäck committed 2015-12-10 09:35:31 +01:00
1 parent ca01e55fa8
commit 894d2cd130
1 file changed
+5
+5
View File
@@ -152,6 +152,11 @@ uint8 platform_get_locale_temperature_format();
bool platform_check_steam_overlay_attached();
// BSD and OS X has MAP_ANON instead of MAP_ANONYMOUS
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
#endif
// Windows specific definitions
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN