projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33128f6
)
common: Add stringify macro
99/143599/6
author
Karol Lewandowski
<k.lewandowsk@samsung.com>
Thu, 10 Aug 2017 11:50:05 +0000
(13:50 +0200)
committer
Karol Lewandowski
<k.lewandowsk@samsung.com>
Fri, 11 Aug 2017 10:54:13 +0000
(12:54 +0200)
Change-Id: I3164fcaaba493eca62f5c095be0a845933150fac
include/logcommon.h
patch
|
blob
|
history
diff --git
a/include/logcommon.h
b/include/logcommon.h
index
9b75098
..
442cb50
100644
(file)
--- a/
include/logcommon.h
+++ b/
include/logcommon.h
@@
-26,6
+26,9
@@
#include <dlog.h>
#include <fcntl.h>
+#define __STRINGIFY(x) #x
+#define STRINGIFY(x) __STRINGIFY(x)
+
#ifdef DEBUG_ON
#define _D(...) printf(__VA_ARGS__)
#else