From 59119adedce9405ce320d4609885f734d0aae5c5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 18 Mar 2022 08:15:20 -0700 Subject: Add __gawk__ predefined preprocessor symbol. --- testcases | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testcases') diff --git a/testcases b/testcases index 1c2e6c8..d1a9fff 100644 --- a/testcases +++ b/testcases @@ -83,3 +83,13 @@ BEGIN { print max(42, 73) }' BEGIN { print max(42, 73) }' : 73 +-- +16: +./cppawk ' +BEGIN { +#if __gawk__ + print "gawk" +#endif +}' +: +gawk -- cgit v1.2.3