From: Aaron W. L. <aar...@aa...> - 2004-10-26 21:55:12
|
Steve Lee wrote: > The code that I am porting defines its own assert in terms of _ASSERT. > I can't find either crtdbg.h or _ASSERT in MinGW so is something defined > that I can use? Preferably with out changing the code. The usual macro we use for this is NDEBUG, which is what controls the standard assert(). See ISO 9899:1999 7.2 for helpful details on how assert() is implemented. If you don't have a copy, and dont have $18 to buy the PDF, similar drafts are availible online for free by websearch. Aaron W. LaFramboise |