From c049a4a0f59c111618aaa419861e61e633f31606 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 11 Oct 2009 15:23:33 +0000 Subject: Use CoreExport for the ServerInstance extern. Fixes unresolved symbol error for windows DLLs like modules and commands. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11833 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index b7827f315..a9a64e2b0 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -74,7 +74,7 @@ typedef std::vector< KeyVal > KeyValList; typedef std::multimap< std::string, KeyValList > ConfigDataHash; class InspIRCd; -extern InspIRCd* ServerInstance; +CoreExport extern InspIRCd* ServerInstance; #include "inspircd_config.h" #include "inspircd_version.h" -- cgit v1.2.3