summaryrefslogtreecommitdiff
path: root/macros.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros.m4')
-rw-r--r--macros.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/macros.m4 b/macros.m4
new file mode 100644
index 0000000..4f15035
--- /dev/null
+++ b/macros.m4
@@ -0,0 +1,2 @@
+define(`COUNTER', 0)
+define(`ENUM', `.equ $1, define(`COUNTER', incr(COUNTER))COUNTER')