Minor mingw fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17279 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-07-21 12:04:43 +00:00
parent cf14e86f5b
commit 569a8ca09b
2 changed files with 5 additions and 10 deletions

View file

@ -1,3 +1,7 @@
2003-07-21 Roland Schwingel <Roland.Schwingel@onevision.de>
* Source/libgnustep-base-entry.m: Don't create unnecessary window.
Mon Jul 21 11:03:48 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Tools/HTMLLinker.m: Removed.

View file

@ -72,7 +72,6 @@ DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
case DLL_PROCESS_ATTACH:
{
WNDCLASS wc;
WSADATA lpWSAData;
#ifdef __MS_WIN32__
/* Initialize the Microsoft C stdio DLL */
@ -98,15 +97,6 @@ DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
if (!RegisterClass(&wc))
NSLog(@"Error: Could not register WIN32 socket handler class.\n");
// Create a window which will recieve the socket handling events
gnustep_base_wnd = CreateWindow("GNUstepBaseSocketHandler",
"", WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
NULL, NULL, hInst, NULL);
if (!gnustep_base_wnd)
NSLog(@"Error: Could not create WIN32 socket handler window.\n");
break;
}
@ -179,6 +169,7 @@ gnustep_base_socket_handler(HWND hWnd, UINT message,
NSLog(@"Got an FD_CLOSE\n");
break;
default:
break;
}
return 0;