aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-09-10 04:51:09 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-09-10 04:51:09 +0200
commit202a1b9284fd763e81340050d228103aef999675 (patch)
treee8e2459e460515fdd9e0501cfd03d24a8474f3ed
parentc2a06db69de7562024524a89a7b0f0f7e61c5999 (diff)
downloadbusybox-202a1b9284fd763e81340050d228103aef999675.tar.gz
awk: fix define name collision with BSD headers
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--editors/awk.c3
1 files changed, 3 insertions, 0 deletions
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