Breaking into the debugger from the menu. This may be useful in Windows.

This commit is contained in:
bubnikv 2016-04-13 20:51:03 +02:00
parent d6b53d18b8
commit 23a5edbd11

View File

@ -39,7 +39,11 @@ enable_screensaver()
bool
debugged()
{
#ifdef _WIN32
return IsDebuggerPresent();
#else
return false;
#endif /* _WIN32 */
}
void