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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h
index 9efafc159..1b6e0fa1a 100644
--- a/winsup/cygwin/debug.h
+++ b/winsup/cygwin/debug.h
@@ -29,7 +29,7 @@ DWORD __stdcall WFMO (DWORD, CONST HANDLE *, BOOL, DWORD) __attribute__ ((regpar
#define _DEBUG_H_
#define being_debugged() \
- (IsDebuggerPresent () || GetLastError () == ERROR_PROC_NOT_FOUND)
+ (IsDebuggerPresent () /* || GetLastError () == ERROR_PROC_NOT_FOUND*/)
void threadname_init ();
HANDLE __stdcall makethread (LPTHREAD_START_ROUTINE, LPVOID, DWORD, const char *) __attribute__ ((regparm(3)));