lyx_mirror/src/support/LAssert.C

29 lines
459 B
C++
Raw Normal View History

/**
* \file LAssert.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bj<EFBFBD>nnes
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#include "LAssert.h"
#ifdef ENABLE_ASSERTIONS
#include "lyx_main.h"
void emergencyCleanup() {
static bool didCleanup;
if (didCleanup)
return;
didCleanup = true;
LyX::emergencyCleanup();
}
#endif