osx: define MAP_ANONYMOUS

This commit is contained in:
Linus Unnebäck 2015-11-30 08:54:22 +01:00
parent ca01e55fa8
commit 894d2cd130
1 changed files with 5 additions and 0 deletions

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