summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index fbf794721..c23f1dbc0 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -616,8 +616,8 @@ sigthread::init (const char *s)
{
#if 0 /* FIXME: Someday we'll need this for inter-thread signalling */
lock = new_muto (FALSE, s);
- id = GetCurrentThreadId ();
#endif
+ id = GetCurrentThreadId ();
}
/* Take over from libc's crt0.o and start the application. Note the