From ded98ed3ded63aa37b7226cd7228b375df8b33e3 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 10 Aug 2011 01:32:07 -0400 Subject: Fixed windows build --- include/access.h | 4 ++-- include/account.h | 4 ++-- include/modules.h | 2 +- include/opertype.h | 2 +- include/regchannel.h | 2 +- include/socketengine.h | 4 ---- 6 files changed, 7 insertions(+), 11 deletions(-) (limited to 'include') diff --git a/include/access.h b/include/access.h index 01d0616d4..c1692960d 100644 --- a/include/access.h +++ b/include/access.h @@ -44,7 +44,7 @@ enum ChannelAccess class ChanAccess; -class AccessProvider : public Service +class CoreExport AccessProvider : public Service { public: AccessProvider(Module *o, const Anope::string &n); @@ -75,7 +75,7 @@ class CoreExport ChanAccess bool operator<=(ChanAccess &other); }; -class AccessGroup : public std::vector +class CoreExport AccessGroup : public std::vector { public: ChannelInfo *ci; diff --git a/include/account.h b/include/account.h index 57e678138..2a812529b 100644 --- a/include/account.h +++ b/include/account.h @@ -249,7 +249,7 @@ class CoreExport NickCore : public Extensible, public Flags u; Anope::string nick; @@ -273,7 +273,7 @@ class NickServCollide : public Timer /** Timers for releasing nicks to be available for use */ -class NickServRelease : public User, public Timer +class CoreExport NickServRelease : public User, public Timer { Anope::string nick; diff --git a/include/modules.h b/include/modules.h index df4fd0323..2bf16477b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -188,7 +188,7 @@ class Version class CallBack; class XLineManager; -class CommandSource; +struct CommandSource; /** Every module in Anope is actually a class. */ diff --git a/include/opertype.h b/include/opertype.h index 0c0d329c7..364343f25 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -12,7 +12,7 @@ class OperType; -struct Oper +struct CoreExport Oper { Anope::string name; Anope::string password; diff --git a/include/regchannel.h b/include/regchannel.h index 7df852793..855c3891d 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -357,7 +357,7 @@ class CoreExport ChannelInfo : public Extensible, public Flags c; diff --git a/include/socketengine.h b/include/socketengine.h index 05859eedb..28d838888 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -14,10 +14,6 @@ class CoreExport SocketEngine { -#ifdef _WIN32 - /* Windows crap */ - static WSADATA wsa; -#endif public: /* Map of sockets */ static std::map Sockets; -- cgit