summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-08-16 22:28:52 +0000
committerphintuka <phintuka>2006-08-16 22:28:52 +0000
commit72f80603eee912111df8680a0f5e53384a30bb04 (patch)
treec7047ddd07016ac8165a59d7645e2c9c2dc09985
parent5337e0ed5d0ebbe73e8df9fbff8e7b258cf42199 (diff)
downloadxineliboutput-72f80603eee912111df8680a0f5e53384a30bb04.tar.gz
xineliboutput-72f80603eee912111df8680a0f5e53384a30bb04.tar.bz2
Use c++ only when compiling c++
-rw-r--r--logdefs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/logdefs.h b/logdefs.h
index 827ad545..334a035e 100644
--- a/logdefs.h
+++ b/logdefs.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: logdefs.h,v 1.1 2006-06-03 09:50:54 phintuka Exp $
+ * $Id: logdefs.h,v 1.2 2006-08-16 22:28:52 phintuka Exp $
*
*/
@@ -58,6 +58,7 @@
#ifdef XINELIBOUTPUT_DEBUG
+# ifdef __cplusplus
#
# include <fstream>
# include <iostream>
@@ -82,6 +83,7 @@
~cTraceFunctionCall()
{ TRACE(m_name << " - Leave "); }
};
+# endif
#else
# define TRACE(x)
# define TRACEF(x)