From 65e2355c8f76be39fc77dda2e4496ea425ecab1b Mon Sep 17 00:00:00 2001 From: Naios Date: Sat, 27 Aug 2016 11:40:13 +0200 Subject: [PATCH] Core/Common: Correct the linking of localeNames --- src/common/Common.cpp | 2 +- src/common/Common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Common.cpp b/src/common/Common.cpp index 8e725366961..78cc6ea876c 100644 --- a/src/common/Common.cpp +++ b/src/common/Common.cpp @@ -18,7 +18,7 @@ #include "Common.h" -TC_COMMON_API char const* localeNames[TOTAL_LOCALES] = +char const* localeNames[TOTAL_LOCALES] = { "enUS", "koKR", diff --git a/src/common/Common.h b/src/common/Common.h index 576cbcfe912..bf2950e6344 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -136,7 +136,7 @@ const uint8 OLD_TOTAL_LOCALES = 9; /// @todo convert in simple system #define MAX_LOCALES 10 #define MAX_ACCOUNT_TUTORIAL_VALUES 8 -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);