git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db81982
)
new macro FIXNULL.
author
kramm
<kramm>
Wed, 16 Jan 2002 11:33:00 +0000
(11:33 +0000)
committer
kramm
<kramm>
Wed, 16 Jan 2002 11:33:00 +0000
(11:33 +0000)
lib/log.h
patch
|
blob
|
history
diff --git
a/lib/log.h
b/lib/log.h
index
31b99fb
..
34a8c16
100644
(file)
--- a/
lib/log.h
+++ b/
lib/log.h
@@
-31,4
+31,6
@@
extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPo
extern void logf(const char* logFormat, ...);
extern void exitLog(void);
+#define FIXNULL(a) ((int)(a)?(a):"NULL")
+
#endif // __log_h__