Skip to content
Permalink
Browse files

Merge pull request #36 from stfx/master

Fix compile after recent core git_id changes
  • Loading branch information...
xfurry committed Sep 4, 2015
2 parents 6c62bb9 + 0f0c690 commit 5772c153d6b20ab5e4a47fcac8dafe9082173c1a
Showing with 0 additions and 14 deletions.
  1. +0 −6 ScriptMgr.cpp
  2. +0 −8 system/MangosdRev.cpp
@@ -252,12 +252,6 @@ void Script::RegisterSelf(bool bReportError)
//********************************
//*** Functions to be Exported ***

MANGOS_DLL_EXPORT
char const* GetScriptLibraryVersion()
{
return strSD2Version.c_str();
}

MANGOS_DLL_EXPORT
bool GossipHello(Player* pPlayer, Creature* pCreature)
{
@@ -2,18 +2,10 @@
* This program is free software licensed under GPL version 2
* Please see the included DOCS/LICENSE.TXT for more information */

#include "../../../shared/revision_nr.h"

#ifdef WIN32
# define MANGOS_DLL_EXPORT extern "C" __declspec(dllexport)
#elif defined( __GNUC__ )
# define MANGOS_DLL_EXPORT extern "C"
#else
# define MANGOS_DLL_EXPORT extern "C" export
#endif

MANGOS_DLL_EXPORT
char const* GetMangosRevStr()
{
return REVISION_NR;
}

0 comments on commit 5772c15

Please sign in to comment.
You can’t perform that action at this time.