diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | win32/win32.c | 9 |
2 files changed, 4 insertions, 9 deletions
@@ -1,3 +1,7 @@ +Sat Feb 24 16:29:15 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/win32.c (StartSocket): remove unnecessary code. + Sat Feb 24 16:04:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * parse.y (struct local_vars): remove unused nofree member from diff --git a/win32/win32.c b/win32/win32.c index ed7473a84..8ff3d6747 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -225,12 +225,6 @@ rb_w32_osid(void) #define IsWinNT() rb_w32_iswinnt() #define IsWin95() rb_w32_iswin95() -/* main thread constants */ -static struct { - HANDLE handle; - DWORD id; -} main_thread; - HANDLE GetCurrentThreadHandle(void) { @@ -2276,9 +2270,6 @@ StartSockets(void) fWinsock = TRUE; - main_thread.handle = GetCurrentThreadHandle(); - main_thread.id = GetCurrentThreadId(); - NtSocketsInitialized = 1; } |
