From 13e5817417f48374ff460c5ccdc5f149a1ae8791 Mon Sep 17 00:00:00 2001 From: Naios Date: Sat, 27 Aug 2016 11:40:13 +0200 Subject: Core/Common: Correct the linking of localeNames --- src/common/Common.cpp | 2 +- src/common/Common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/Common.cpp b/src/common/Common.cpp index 7337853b292..9f95dba5330 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 423c3e8cae0..aa04abacd30 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -133,7 +133,7 @@ enum LocaleConstant #define MAX_LOCALES 8 #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); -- cgit v1.2.3