From 566dd25530779388859f8a21191e60c62a21cd5f Mon Sep 17 00:00:00 2001 From: David Date: Fri, 24 Oct 2008 19:12:49 +0000 Subject: david - ok, fixed the compiler warnings in socket class. got serversocket compliling without warnings. added win32_compatibility.h along the same lines as osx_copatibility.h --- src/serversocket.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/serversocket.h') diff --git a/src/serversocket.h b/src/serversocket.h index 1742786..168c5e1 100644 --- a/src/serversocket.h +++ b/src/serversocket.h @@ -11,7 +11,12 @@ #include #include "bu/fstring.h" #include "bu/exceptionbase.h" -#include + +#ifdef WIN32 + #include +#else + #include +#endif namespace Bu { @@ -45,7 +50,11 @@ namespace Bu void startServer( struct sockaddr_in &name, int nPoolSize ); fd_set fdActive; +#ifdef WIN32 + unsigned int nServer; +#else int nServer; +#endif int nPort; }; } -- cgit v1.2.3