summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
new file mode 100644
index 0000000..4761b04
--- /dev/null
+++ b/src/utils.h
@@ -0,0 +1,10 @@
+#define STR(symbol) #symbol
+#define STRINGIFY(symbol) STR(symbol)
+
+#ifndef PUBLISHER_PORT
+#error PUBLISHER_PORT undefined
+#endif
+
+#ifndef PUBLISHER_ADDR
+#error PUBLISHER_ADDR undefined
+#endif