summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-07-14 20:08:36 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-07-14 20:08:36 +0200
commit5f4d586aca4b5e802e2d18d527ee0b0a4e2f884c (patch)
treee39c303230a5a09d48377f7074f0857bc85cf837 /src/utils.h
parente0440fc811bafd9c72b5c85b4d3d59dd8c629027 (diff)
Minor changes
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