Core/Common: Correct the linking of localeNames

(cherry picked from commit 13e5817417)
This commit is contained in:
Naios
2016-08-27 11:40:13 +02:00
parent cc51ae6f9a
commit a2eb1c0066
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
#include "Common.h"
TC_COMMON_API char const* localeNames[TOTAL_LOCALES] =
char const* localeNames[TOTAL_LOCALES] =
{
"enUS",
"koKR",

View File

@@ -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);