diff options
author | rpj <rpj> | 2011-07-01 15:55:23 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-07-01 15:55:23 +0000 |
commit | c34bf0c659b945f0c012b1cdd7ea80de8292c608 (patch) | |
tree | d557be140c12364eb139947e024f6f8407d035ec /pthread_win32_attach_detach_np.c | |
parent | cabf98d7523be352742b6a95165a4b4912519a50 (diff) |
*** empty log message ***
Diffstat (limited to 'pthread_win32_attach_detach_np.c')
-rw-r--r-- | pthread_win32_attach_detach_np.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pthread_win32_attach_detach_np.c b/pthread_win32_attach_detach_np.c index f8940e5..aa30a65 100644 --- a/pthread_win32_attach_detach_np.c +++ b/pthread_win32_attach_detach_np.c @@ -38,11 +38,6 @@ #include "implement.h" /* - * Handle to kernel32.dll - */ -static HINSTANCE ptw32_h_kernel32; - -/* * Handle to quserex.dll */ static HINSTANCE ptw32_h_quserex; @@ -67,7 +62,6 @@ pthread_win32_process_attach_np () /* * Load QUSEREX.DLL and try to get address of QueueUserAPCEx */ - SetDllDirectory(""); /* Don't search in current directory */ ptw32_h_quserex = LoadLibrary (TEXT ("QUSEREX.DLL")); if (ptw32_h_quserex != NULL) @@ -113,8 +107,6 @@ pthread_win32_process_attach_np () } } - SetDllDirectory(NULL); /* Reset DLL search path to default */ - if (ptw32_h_quserex) { ptw32_features |= PTW32_ALERTABLE_ASYNC_CANCEL; @@ -168,11 +160,6 @@ pthread_win32_process_detach_np () } (void) FreeLibrary (ptw32_h_quserex); } - - if (ptw32_h_kernel32) - { - (void) FreeLibrary (ptw32_h_kernel32); - } } return TRUE; |