summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defines.h b/src/defines.h
index 19c0179..fdcd701 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -66,6 +66,7 @@
#define true (_Bool)1
#endif
+#define UNLESS(x) if (!x)
// Makes the compiler always happy (end of switch statements) :)
#define NO_DEFAULT default: if (0)