diff options
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index 050619b55..e635c6918 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -6,7 +6,6 @@ This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ -#define NO_DEBUG_DEFINES #include "winsup.h" #include "exceptions.h" #include "sync.h" @@ -14,6 +13,8 @@ details. */ #include "pinfo.h" #include "perthread.h" +#undef CloseHandle + static muto NO_COPY *threadname_lock = NULL; #define lock_threadname() \ do {if (threadname_lock) threadname_lock->acquire (INFINITE); } while (0) |