namespace lyx {
// Keep the linker happy on Windows
-void emergencyCleanup()
+void lyx_exit(int)
{}
namespace support {
namespace lyx {
-void emergencyCleanup();
+void lyx_exit(int);
namespace support {
namespace os {
if (event == CTRL_CLOSE_EVENT
|| event == CTRL_LOGOFF_EVENT
|| event == CTRL_SHUTDOWN_EVENT) {
- lyx::emergencyCleanup();
+ lyx::lyx_exit(1);
return TRUE;
}
return FALSE;
namespace lyx {
-void emergencyCleanup();
+void lyx_exit(int);
namespace support {
namespace os {
if (event == CTRL_CLOSE_EVENT
|| event == CTRL_LOGOFF_EVENT
|| event == CTRL_SHUTDOWN_EVENT) {
- lyx::emergencyCleanup();
+ lyx::lyx_exit(1);
return TRUE;
}
return FALSE;
// Keep the linker happy on Windows
-void emergencyCleanup()
+void lyx_exit(int)
{}