projects
/
platform
/
upstream
/
iotivity.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76e73c
)
Avoid redefine 'NDEBUG'
author
Caiwen Zhang
<caiwen.zhang@intel.com>
Thu, 18 Sep 2014 17:18:50 +0000
(
01:18
+0800)
committer
Caiwen Zhang
<caiwen.zhang@intel.com>
Thu, 18 Sep 2014 17:18:50 +0000
(
01:18
+0800)
Change-Id: I1a8e1c5b0a8b7aa0c1ab19e292485e4e20ab90a5
csdk/libcoap-4.1.1/debug.h
patch
|
blob
|
history
diff --git
a/csdk/libcoap-4.1.1/debug.h
b/csdk/libcoap-4.1.1/debug.h
index
d3d39aa
..
7896f28
100644
(file)
--- a/
csdk/libcoap-4.1.1/debug.h
+++ b/
csdk/libcoap-4.1.1/debug.h
@@
-53,7
+53,7
@@
void coap_log_impl(coap_log_t level, const char *format, ...);
#define coap_log(...) coap_log_impl(__VA_ARGS__)
#endif
-#if
ndef TB_LOG
+#if
!defined(TB_LOG) && !defined(NDEBUG)
#define NDEBUG
#endif