From: Mathieu Desnoyers Date: Mon, 30 Jan 2012 13:05:21 +0000 (-0500) Subject: Define MAP_STACK to 0 if not defined by the architecture X-Git-Tag: v2.0-pre19~42 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=059e1d3d3268391d73bb0dc733629eb8edfeb1ed;p=lttng-tools.git Define MAP_STACK to 0 if not defined by the architecture This is just a hint anyway, currently no-op. Signed-off-by: Mathieu Desnoyers --- diff --git a/src/common/runas.c b/src/common/runas.c index 497a96ad8..07912a7d6 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -36,6 +36,10 @@ #define RUNAS_CHILD_STACK_SIZE 10485760 +#ifndef MAP_STACK +#define MAP_STACK 0 +#endif + struct run_as_data { int (*cmd)(void *data); void *data;