Browse Source

MAP_SYSTEM

eden-orbis-ps4
lizzie 3 weeks ago
parent
commit
1eaab153ad
  1. 9
      src/common/host_memory.cpp

9
src/common/host_memory.cpp

@ -45,8 +45,15 @@
# define MAP_ANONYMOUS MAP_ANON
#endif
// PlayStation 4
// Flag needs to be undef-ed on non PS4 since it has different semantics
// on some platforms.
#ifndef MAP_SYSTEM
# define MAP_SYSTEM 0
# ifdef __OPENORBIS__
# define MAP_SYSTEM 0x2000
# else
# undef MAP_SYSTEM
# define MAP_SYSTEM 0
# endif
#endif
#endif // ^^^ POSIX ^^^

Loading…
Cancel
Save