diff options
author | Naios <naios-dev@live.de> | 2016-08-27 11:40:13 +0200 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2016-08-29 22:07:18 +0200 |
commit | a2eb1c00669f1f3c2e4f7ab4a0cd2b3cbda5e11f (patch) | |
tree | 8822d6e4c32cfc5c83bea39f580a755118777640 | |
parent | cc51ae6f9a32c38cda2be30caadb879ed72f1273 (diff) |
Core/Common: Correct the linking of localeNames
(cherry picked from commit 13e5817417f48374ff460c5ccdc5f149a1ae8791)
-rw-r--r-- | src/common/Common.cpp | 2 | ||||
-rw-r--r-- | 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 eb4316edd69..4555f00a76c 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 3a84f4b2eb5..c4180396a28 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 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); |