aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/debug.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-24 16:33:03 +0000
committerChristopher Faylor <me@cgf.cx>2000-08-24 16:33:03 +0000
commitd1be315740820824c3db85410d02177a2b231893 (patch)
tree3d502517bbf6a995b51e557fef08a975dda540eb /winsup/cygwin/debug.cc
parent0888fedd86a3fbd197c26a232d7e039e4606b846 (diff)
downloadnewlib-d1be315740820824c3db85410d02177a2b231893.zip
newlib-d1be315740820824c3db85410d02177a2b231893.tar.gz
newlib-d1be315740820824c3db85410d02177a2b231893.tar.bz2
* debug.h: Allow some debug defines for use in header files.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r--winsup/cygwin/debug.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc
index 050619b..e635c69 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)