mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:34:48 +02:00
Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later
This commit is contained in:
@@ -15,16 +15,20 @@
|
||||
class CoreExport SocketEngineBase
|
||||
{
|
||||
public:
|
||||
#ifdef _WIN32
|
||||
/* Windows crap */
|
||||
WSADATA wsa;
|
||||
#endif
|
||||
/* Map of sockets */
|
||||
std::map<int, Socket *> Sockets;
|
||||
|
||||
/** Default constructor
|
||||
*/
|
||||
SocketEngineBase() { }
|
||||
SocketEngineBase();
|
||||
|
||||
/** Default destructor
|
||||
*/
|
||||
virtual ~SocketEngineBase() { }
|
||||
virtual ~SocketEngineBase();
|
||||
|
||||
/** Add a socket to the internal list
|
||||
* @param s The socket
|
||||
|
||||
Reference in New Issue
Block a user