mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Common: Correct the linking of localeNames
(cherry picked from commit 13e5817417)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
TC_COMMON_API char const* localeNames[TOTAL_LOCALES] =
|
||||
char const* localeNames[TOTAL_LOCALES] =
|
||||
{
|
||||
"enUS",
|
||||
"koKR",
|
||||
|
||||
@@ -136,7 +136,7 @@ const uint8 OLD_TOTAL_LOCALES = 9; /// @todo convert in simple system
|
||||
|
||||
#define MAX_LOCALES 11
|
||||
|
||||
extern "C" TC_COMMON_API char const* localeNames[TOTAL_LOCALES];
|
||||
TC_COMMON_API extern char const* localeNames[TOTAL_LOCALES];
|
||||
|
||||
TC_COMMON_API LocaleConstant GetLocaleByName(const std::string& name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user