|
@@ -50,11 +50,15 @@
|
|
|
|
|
|
#ifdef INHERIT_ZERO
|
|
|
#define FLAG_ZERO INHERIT_ZERO
|
|
|
+#elif defined(MAP_INHERIT_ZERO)
|
|
|
+#define FLAG_ZERO MAP_INHERIT_ZERO
|
|
|
#endif
|
|
|
#ifdef INHERIT_NONE
|
|
|
#define FLAG_NOINHERIT INHERIT_NONE
|
|
|
#elif defined(VM_INHERIT_NONE)
|
|
|
#define FLAG_NOINHERIT VM_INHERIT_NONE
|
|
|
+#elif defined(MAP_INHERIT_NONE)
|
|
|
+#define FLAG_NOINHERIT MAP_INHERIT_NONE
|
|
|
#endif
|
|
|
|
|
|
#elif defined(HAVE_MADVISE)
|