diff options
author | phintuka <phintuka> | 2006-08-16 22:28:52 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-08-16 22:28:52 +0000 |
commit | 72f80603eee912111df8680a0f5e53384a30bb04 (patch) | |
tree | c7047ddd07016ac8165a59d7645e2c9c2dc09985 | |
parent | 5337e0ed5d0ebbe73e8df9fbff8e7b258cf42199 (diff) | |
download | xineliboutput-72f80603eee912111df8680a0f5e53384a30bb04.tar.gz xineliboutput-72f80603eee912111df8680a0f5e53384a30bb04.tar.bz2 |
Use c++ only when compiling c++
-rw-r--r-- | logdefs.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |