summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 17:42:13 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 17:42:13 +0100
commit355c427917f06debcda701ccb75c8134da225aff (patch)
tree1d78cecb071b4f0f82632939826bd43d367625dc
parent6c738d7fd76271e07f3a1877a20941c8bc0d68fc (diff)
downloaddabmux-355c427917f06debcda701ccb75c8134da225aff.tar.gz
dabmux-355c427917f06debcda701ccb75c8134da225aff.tar.bz2
dabmux-355c427917f06debcda701ccb75c8134da225aff.zip
add STRINGIFY macro to PcDebug.h
-rw-r--r--src/PcDebug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PcDebug.h b/src/PcDebug.h
index a416bae..d0b2b2c 100644
--- a/src/PcDebug.h
+++ b/src/PcDebug.h
@@ -26,6 +26,9 @@
# include "config.h"
#endif
+#define STRINGIFY(x) XSTRINGIFY(x)
+#define XSTRINGIFY(x) #x
+
#include <stdio.h>
#define LOG stderr