projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d5256e
)
don't define mm_log() with IMAGER_NO_CONTEXT
author
Tony Cook
<tony@develop-help.com>
Mon, 6 Aug 2012 01:58:17 +0000
(11:58 +1000)
committer
Tony Cook
<tony@develop-help.com>
Tue, 14 Aug 2012 09:58:19 +0000
(19:58 +1000)
since you may end up using a different context to that stored locally.
log.h
patch
|
blob
|
blame
|
history
diff --git
a/log.h
b/log.h
index 2d23440df659806e6f6d76140fee87d24feb47b0..a942926d913ead915bf47ea18690dd242505e1b3 100644
(file)
--- a/
log.h
+++ b/
log.h
@@
-34,7
+34,9
@@
log file if logging is enabled.
*/
#ifdef IMAGER_LOG
+#ifndef IMAGER_NO_CONTEXT
#define mm_log(x) { i_lhead(__FILE__,__LINE__); i_loog x; }
+#endif
#define im_log(x) { im_lhead(aIMCTX, __FILE__,__LINE__); im_loog x; }
#else
#define mm_log(x)