summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index acbf688d..cc5e6980 100644
--- a/include/common.h
+++ b/include/common.h
@@ -220,6 +220,9 @@
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
+#define toSTR(x) __toSTR(x)
+#define __toSTR(x) #x
+
#define char_lower(c) ((c >= 'A' && c <= 'Z') ? c|32 : c)
#define STR_CURSOR "กด"