libebml: the makefiles use DEBUG and not NDEBUG

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@504 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Steve Lhomme 2010-08-15 13:07:48 +00:00
parent 99fad2afdf
commit 27c3b32bed
2 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ START_LIBEBML_NAMESPACE
static const int MAX_PREFIX_LENGTH = 128; static const int MAX_PREFIX_LENGTH = 128;
#if !defined(NDEBUG) #if defined(DEBUG)
// define the working debugging class // define the working debugging class
class EBML_DLL_API ADbg class EBML_DLL_API ADbg
@ -102,7 +102,7 @@ private:
#endif // WIN32 #endif // WIN32
}; };
#else // !defined(NDEBUG) #else // defined(DEBUG)
// define a class that does nothing (no output) // define a class that does nothing (no output)
@ -145,7 +145,7 @@ public:
} }
}; };
#endif // !defined(NDEBUG) #endif // defined(DEBUG)
extern class EBML_DLL_API ADbg globalDebug; extern class EBML_DLL_API ADbg globalDebug;

View File

@ -49,7 +49,7 @@ START_LIBEBML_NAMESPACE
class ADbg globalDebug; class ADbg globalDebug;
#if !defined(NDEBUG) #if defined(DEBUG)
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Construction/Destruction // Construction/Destruction
@ -232,6 +232,6 @@ bool ADbg::unsetDebugFile() {
return result; return result;
} }
#endif // !defined(NDEBUG) #endif // defined(DEBUG)
END_LIBEBML_NAMESPACE END_LIBEBML_NAMESPACE