aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Utils.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-07-31 23:18:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:10:05 +0200
commita91e34a8a2ae3b19726f5ecca256b34464af8d40 (patch)
tree3e1504fc0f35ee798a3a093b39ca9393ed5936ef /nx-X11/programs/Xserver/hw/nxagent/Utils.h
parent3b94b9c64f40f5c10196da33725ccf04ed63bfba (diff)
downloadnx-libs-a91e34a8a2ae3b19726f5ecca256b34464af8d40.tar.gz
nx-libs-a91e34a8a2ae3b19726f5ecca256b34464af8d40.tar.bz2
nx-libs-a91e34a8a2ae3b19726f5ecca256b34464af8d40.zip
Imakefile: make NXAGENT_RANDR_MODE_PREFIX configurable via macro
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Utils.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Utils.h b/nx-X11/programs/Xserver/hw/nxagent/Utils.h
index 0aebda839..e61a79144 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Utils.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Utils.h
@@ -47,4 +47,8 @@ static inline const char * validateString(const char *str) {
#define SAFE_XFree(what) do {if (what) {XFree(what); what = NULL;}} while (0)
#define SAFE_free(what) do {free(what); what = NULL;} while (0)
+/* some helper macros to produce a quoted string from other macros */
+#define QUOTEEXP(str) #str
+#define QUOTE(str) QUOTEEXP(str)
+
#endif /* __Utils_H__ */