From 202a1b9284fd763e81340050d228103aef999675 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 10 Sep 2011 04:51:09 +0200 Subject: awk: fix define name collision with BSD headers Signed-off-by: Denys Vlasenko --- editors/awk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editors/awk.c b/editors/awk.c index 0918026d7..8117cab54 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -238,6 +238,9 @@ typedef struct tsplitter_s { * For builtins it has different meaning: n n s3 s2 s1 v3 v2 v1, * n - min. number of args, vN - resolve Nth arg to var, sN - resolve to string */ +#undef P +#undef PRIMASK +#undef PRIMASK2 #define P(x) (x << 24) #define PRIMASK 0x7F000000 #define PRIMASK2 0x7E000000 -- cgit v1.2.3