summaryrefslogtreecommitdiff
path: root/src/libw32dll/wine/debugtools.h
diff options
context:
space:
mode:
authorAndre Pang <athp@users.sourceforge.net>2004-12-12 06:55:58 +0000
committerAndre Pang <athp@users.sourceforge.net>2004-12-12 06:55:58 +0000
commit1de00c1f9d0f1eba90be53b8dd9635b79b68dc2a (patch)
tree057da9b98c78a90e2a4446ab56e413c1479ae5ac /src/libw32dll/wine/debugtools.h
parentf5e91a956b0df782bbdfb23beb319846ca2ebe4f (diff)
downloadxine-lib-1de00c1f9d0f1eba90be53b8dd9635b79b68dc2a.tar.gz
xine-lib-1de00c1f9d0f1eba90be53b8dd9635b79b68dc2a.tar.bz2
Code cleanups and elimination of some compiler warnings; patch courtesy of AL13N
CVS patchset: 7230 CVS date: 2004/12/12 06:55:58
Diffstat (limited to 'src/libw32dll/wine/debugtools.h')
-rw-r--r--src/libw32dll/wine/debugtools.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libw32dll/wine/debugtools.h b/src/libw32dll/wine/debugtools.h
index ef86580af..038c05309 100644
--- a/src/libw32dll/wine/debugtools.h
+++ b/src/libw32dll/wine/debugtools.h
@@ -12,13 +12,21 @@
struct _GUID;
+#ifndef TRACE
#ifdef LOG
# define TRACE __vprintf
-# define dbg_printf __vprintf
#else
# define TRACE(...)
+#endif
+#endif
+
+#ifndef dbg_printf
+#ifdef LOG
+# define dbg_printf __vprintf
+#else
# define dbg_printf(...)
#endif
+#endif
/* Internal definitions (do not use these directly) */