diff --git a/lib/lwres/win32/DLLMain.c b/lib/lwres/win32/DLLMain.c index f49e0830ad..bd7e11a073 100644 --- a/lib/lwres/win32/DLLMain.c +++ b/lib/lwres/win32/DLLMain.c @@ -15,19 +15,19 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/* $Id: DLLMain.c,v 1.2 2001/07/18 18:27:11 gson Exp $ */ + #include #include BOOL InitSockets(void); - /* * Called when we enter the DLL */ -__declspec(dllexport) BOOL WINAPI DllMain( HINSTANCE hinstDLL, - DWORD fdwReason, LPVOID lpvReserved) +__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL, + DWORD fdwReason, LPVOID lpvReserved) { - switch (fdwReason) { /* diff --git a/lib/lwres/win32/include/lwres/netdb.h b/lib/lwres/win32/include/lwres/netdb.h index 5a9014eddb..f406c318a5 100644 --- a/lib/lwres/win32/include/lwres/netdb.h +++ b/lib/lwres/win32/include/lwres/netdb.h @@ -15,10 +15,11 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: netdb.h,v 1.1 2001/07/18 02:37:15 mayer Exp $ */ +/* $Id: netdb.h,v 1.2 2001/07/18 18:29:58 gson Exp $ */ #ifndef LWRES_NETDB_H #define LWRES_NETDB_H 1 + #include /* Required on FreeBSD (and others?) for size_t. */ #define off_t _off_t diff --git a/lib/lwres/win32/include/lwres/platform.h b/lib/lwres/win32/include/lwres/platform.h index 15ecb80f57..245b79217f 100644 --- a/lib/lwres/win32/include/lwres/platform.h +++ b/lib/lwres/win32/include/lwres/platform.h @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: platform.h,v 1.1 2001/07/18 02:37:15 mayer Exp $ */ +/* $Id: platform.h,v 1.2 2001/07/18 18:29:59 gson Exp $ */ #ifndef LWRES_PLATFORM_H #define LWRES_PLATFORM_H 1 @@ -71,19 +71,19 @@ * Define some Macros */ #ifdef LIBLWRES_EXPORTS -#define LIBLWRES_EXTERNAL_DATA __declspec( dllexport ) +#define LIBLWRES_EXTERNAL_DATA __declspec(dllexport) #else -#define LIBLWRES_EXTERNAL_DATA __declspec( dllimport ) +#define LIBLWRES_EXTERNAL_DATA __declspec(dllimport) #endif /* * Define the MAKE_NONBLOCKING Macro here since it can get used in * a number of places. */ -#define MAKE_NONBLOCKING(sd, retval)\ -do {\ - int _on = 1;\ - retval = ioctlsocket((SOCKET) sd, FIONBIO, &_on);\ +#define MAKE_NONBLOCKING(sd, retval) \ +do { \ + int _on = 1; \ + retval = ioctlsocket((SOCKET) sd, FIONBIO, &_on); \ } while (0) /*