summaryrefslogtreecommitdiffstats
path: root/source/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/macros.h')
-rw-r--r--source/macros.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/macros.h b/source/macros.h
new file mode 100644
index 0000000..d2231ff
--- /dev/null
+++ b/source/macros.h
@@ -0,0 +1,12 @@
+#ifndef EXITEST_MACROS_H_INCLUDED
+#define EXITEST_MACROS_H_INCLUDED
+
+#define STR(_s) STR2(_s)
+#define STR2(_s) #_s
+
+#define PASTE(_x, _y) PASTE2(_x, _y)
+#define PASTE2(_x, _y) _x ## _y
+
+#define COMMA ,
+
+#endif /* include guard */