ucontext-cp.c:24:0: warning: "SIGSTKSZ" redefined #define SIGSTKSZ 8192 In file included from /usr/include/signal.h:316:0, from ucontext-cp.c:13: /usr/include/aarch64-linux-gnu/bits/sigstack.h:30:0: note: this is the location of the previous definition #define SIGSTKSZ 16384 Signed-off-by: Jackie Liu <liuyun01@xxxxxxxxxx> --- examples/ucontext-cp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/ucontext-cp.c b/examples/ucontext-cp.c index 3e95b15..d521e94 100644 --- a/examples/ucontext-cp.c +++ b/examples/ucontext-cp.c @@ -21,7 +21,9 @@ #define QD 64 #define BS 1024 +#ifndef SIGSTKSZ #define SIGSTKSZ 8192 +#endif typedef struct { struct io_uring *ring; -- 2.17.1