aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2016-08-27 11:40:13 +0200
committerNaios <naios-dev@live.de>2016-08-29 22:03:48 +0200
commit13e5817417f48374ff460c5ccdc5f149a1ae8791 (patch)
tree28f5c948c4a2cd37411f605b5c7219e165fbfea5
parent0c97ef5f74ecd30a16965719b857d0ba71580fbf (diff)
Core/Common: Correct the linking of localeNames
-rw-r--r--src/common/Common.cpp2
-rw-r--r--src/common/Common.h2
2 files changed, 2 insertions, 2 deletions
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);