summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-14 19:28:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-14 19:28:29 +0000
commit9471ad4d7a894367d340d677fb9ab084e023570a (patch)
tree3e7f73fe7b9341cd66dce066ceaa358c1e379bf3 /src
parent939ac66fc0be56ad418d36aa1c7907b451082fc2 (diff)
Windows build stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7309 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_filter_pcre.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp
index e25fd06bb..ff9c3d0f9 100644
--- a/src/modules/extra/m_filter_pcre.cpp
+++ b/src/modules/extra/m_filter_pcre.cpp
@@ -23,6 +23,10 @@
/* $LinkerFlags: exec("pcre-config --libs") rpath("pcre-config --libs") -lpcre */
/* $ModDep: m_filter.h */
+#ifdef WINDOWS
+#pragma comment(lib, "pcre.lib")
+#endif
+
class PCREFilter : public FilterResult
{
public:
@@ -194,7 +198,8 @@ class ModuleFilterPCREFactory : public ModuleFactory
};
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
{
return new ModuleFilterPCREFactory;
}
+