EXTERN_C void
set_w32_module_name(void);
+EXTERN_C void
+EndSockets(void);
+
+
#ifdef __MINGW32__
EXTERN_C /* GCC in C++ mode mangles the name, otherwise */
#endif
* process termination or call to FreeLibrary.
*/
case DLL_PROCESS_DETACH:
+ EndSockets();
break;
/* The attached process creates a new thread. */