summaryrefslogtreecommitdiff
path: root/tk/win/tkWin32Dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'tk/win/tkWin32Dll.c')
-rw-r--r--tk/win/tkWin32Dll.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tk/win/tkWin32Dll.c b/tk/win/tkWin32Dll.c
index 48fdd0ac671..61b05c01806 100644
--- a/tk/win/tkWin32Dll.c
+++ b/tk/win/tkWin32Dll.c
@@ -19,14 +19,6 @@
BOOL APIENTRY DllMain _ANSI_ARGS_((HINSTANCE hInst,
DWORD reason, LPVOID reserved));
-/* CYGNUS LOCAL */
-#ifdef __CYGWIN32__
-/* cygwin32 requires an impure pointer variable, which must be
- explicitly initialized when the DLL starts up. */
-struct _reent *_impure_ptr;
-extern struct _reent __declspec(dllimport) reent_data;
-#endif
-/* END CYGNUS LOCAL */
/*
*----------------------------------------------------------------------
@@ -77,12 +69,6 @@ DllMain(hInstance, reason, reserved)
DWORD reason;
LPVOID reserved;
{
-#ifdef __CYGWIN32__
- /* cygwin32 requires the impure data pointer to be initialized
- when the DLL starts up. */
- _impure_ptr = &reent_data;
-#endif
- /* END CYGNUS LOCAL */
/*
* If we are attaching to the DLL from a new process, tell Tk about
@@ -97,4 +83,3 @@ DllMain(hInstance, reason, reserved)
}
return(TRUE);
}
-