summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-09 09:05:26 -0500
committerJune McEnroe <june@causal.agency>2019-11-09 09:05:26 -0500
commita51cab7eed76c28888fef9c0ef1687dc0b295493 (patch)
tree0170fd0cce5ee5c771aff861a1790ec85b2a6b91
parentDefine macro for bit flag enums (diff)
downloadpounce-a51cab7eed76c28888fef9c0ef1687dc0b295493.tar.gz
pounce-a51cab7eed76c28888fef9c0ef1687dc0b295493.zip
Avoid the reserved _A names with BIT macro
-rw-r--r--bounce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.h b/bounce.h
index c523227..aa7fda1 100644
--- a/bounce.h
+++ b/bounce.h
@@ -30,7 +30,7 @@
 #define SOURCE_URL "https://code.causal.agency/june/pounce"
 #define ORIGIN "irc.invalid"
 
-#define BIT(x) x##Bit, x = 1 << x##Bit, _##x##Bit = x##Bit
+#define BIT(x) x##Bit, x = 1 << x##Bit, x##Bit_ = x##Bit
 #define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0]))
 
 typedef unsigned char byte;
/mdoc.l?id=118a437acfb7b53d7522c71bd3f99982724b425b&follow=1'>Remove hacky tagging from hilexJune McEnroe 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe 2021-01-12Split fields by tab onlyJune McEnroe 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe