summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/debug.h')
-rw-r--r--winsup/cygwin/debug.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h
index b2333e6fd..d14be53de 100644
--- a/winsup/cygwin/debug.h
+++ b/winsup/cygwin/debug.h
@@ -20,8 +20,7 @@ details. */
#if !defined(_DEBUG_H_)
#define _DEBUG_H_
-#define being_debugged() \
- (IsDebuggerPresent () /* || GetLastError () == ERROR_PROC_NOT_FOUND*/)
+#define being_debugged() (IsDebuggerPresent ())
#ifndef DEBUGGING
# define cygbench(s)