Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
1a8e48e1
Commit
1a8e48e1
authored
Oct 22, 2010
by
Friedemann Kleint
Browse files
Debugger: Fix compilation with VS2005.
Reviewed-by:
Maurice Kalinowski
<
maurice.kalinowski@nokia.com
>
parent
ac9159f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/shared/dbgwinutils.cpp
View file @
1a8e48e1
...
...
@@ -244,6 +244,11 @@ QString winNormalizeFileName(const QString &f)
bool
isWinProcessBeingDebugged
(
unsigned
long
pid
)
{
// Exclude VS 2005
#if defined(_MSC_VER) && _MSC_VER < 1400
Q_UNUSED
(
pid
);
return
false
;
#else
HANDLE
processHandle
=
OpenProcess
(
PROCESS_QUERY_INFORMATION
,
FALSE
,
pid
);
if
(
processHandle
==
NULL
)
return
false
;
...
...
@@ -251,6 +256,7 @@ bool isWinProcessBeingDebugged(unsigned long pid)
CheckRemoteDebuggerPresent
(
processHandle
,
&
debugged
);
CloseHandle
(
processHandle
);
return
debugged
!=
FALSE
;
#endif
}
}
// namespace Internal
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment