implemented wxIsDebuggerRunning() for Win32

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-01-08 17:44:46 +00:00
parent 44c5573d2e
commit c50a4038e3
3 changed files with 29 additions and 9 deletions

View File

@@ -233,12 +233,14 @@
/* other miscellaneous debugger-related functions */
/* ---------------------------------------------------------------------------- */
/* return true if we're running under debugger */
/* */
/* currently this only really works under Mac in CodeWarrior builds, it always */
/* returns false otherwise */
/*
Return true if we're running under debugger.
Currently this only really works under Win32 and Mac in CodeWarrior builds,
it always returns false in other cases.
*/
#ifdef __cplusplus
#ifdef __WXMAC__
#if defined(__WXMAC__) || defined(__WXMSW__)
extern bool WXDLLIMPEXP_BASE wxIsDebuggerRunning();
#else /* !Mac */
inline bool wxIsDebuggerRunning() { return false; }