mirror of
https://github.com/anope/anope.git
synced 2026-07-03 01:13:13 +02:00
Fixed Windows build
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ enum CommandFlag
|
||||
};
|
||||
|
||||
/* The source for a command */
|
||||
struct CommandSource
|
||||
struct CoreExport CommandSource
|
||||
{
|
||||
/* User executing the command */
|
||||
User *u;
|
||||
|
||||
+2
-2
@@ -176,7 +176,7 @@ namespace irc
|
||||
|
||||
/** Used to hash irc::strings for unordered_map
|
||||
*/
|
||||
struct hash
|
||||
struct CoreExport hash
|
||||
{
|
||||
/* VS 2008 specific code */
|
||||
enum { bucket_size = 4, min_buckets = 8 };
|
||||
@@ -253,7 +253,7 @@ namespace ci
|
||||
|
||||
/** Used to hash ci::strings for unordered_map
|
||||
*/
|
||||
struct hash
|
||||
struct CoreExport hash
|
||||
{
|
||||
/* VS 2008 specific code */
|
||||
enum { bucket_size = 4, min_buckets = 8 };
|
||||
|
||||
+1
-1
@@ -765,7 +765,7 @@ enum EntryType
|
||||
ENTRYTYPE_HOST
|
||||
};
|
||||
|
||||
class Entry : public Flags<EntryType>
|
||||
class CoreExport Entry : public Flags<EntryType>
|
||||
{
|
||||
Anope::string mask;
|
||||
|
||||
|
||||
+1
-1
@@ -340,7 +340,7 @@ class CoreExport ConnectionSocket : public BufferedSocket
|
||||
void Connect(const Anope::string &TargetHost, int Port, const Anope::string &BindHost = "");
|
||||
};
|
||||
|
||||
class ClientSocket : public BufferedSocket
|
||||
class CoreExport ClientSocket : public BufferedSocket
|
||||
{
|
||||
public:
|
||||
/* Listen socket this connection came from */
|
||||
|
||||
Reference in New Issue
Block a user