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:
parent
99fad2afdf
commit
27c3b32bed
@ -52,7 +52,7 @@ START_LIBEBML_NAMESPACE
|
||||
|
||||
static const int MAX_PREFIX_LENGTH = 128;
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
#if defined(DEBUG)
|
||||
// define the working debugging class
|
||||
|
||||
class EBML_DLL_API ADbg
|
||||
@ -102,7 +102,7 @@ private:
|
||||
#endif // WIN32
|
||||
};
|
||||
|
||||
#else // !defined(NDEBUG)
|
||||
#else // defined(DEBUG)
|
||||
|
||||
// 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;
|
||||
|
||||
|
@ -49,7 +49,7 @@ START_LIBEBML_NAMESPACE
|
||||
|
||||
class ADbg globalDebug;
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
#if defined(DEBUG)
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Construction/Destruction
|
||||
@ -232,6 +232,6 @@ bool ADbg::unsetDebugFile() {
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif // !defined(NDEBUG)
|
||||
#endif // defined(DEBUG)
|
||||
|
||||
END_LIBEBML_NAMESPACE
|
||||
|
Loading…
x
Reference in New Issue
Block a user