diff options
author | Naios <naios-dev@live.de> | 2016-03-22 19:58:32 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2016-03-24 01:28:58 +0100 |
commit | 501fd9b50232ca3ae3623877c3e521c9c1f894be (patch) | |
tree | 073a16994f31aa1ebc28e87b0e9427540f48340a /src/common/Common.h | |
parent | 183f97005573f499d486613119e7bbb3d5d5318b (diff) |
Core/Common: Converted the common library to a shared library.
* There is still the possibility to static link against common.
Diffstat (limited to 'src/common/Common.h')
-rw-r--r-- | src/common/Common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/Common.h b/src/common/Common.h index ad48358ca8d..a6e2a8635cf 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -135,15 +135,15 @@ const uint8 OLD_TOTAL_LOCALES = 9; /// @todo convert in simple system #define MAX_LOCALES 11 -extern char const* localeNames[TOTAL_LOCALES]; +extern "C" TC_COMMON_API char const* localeNames[TOTAL_LOCALES]; -LocaleConstant GetLocaleByName(const std::string& name); +TC_COMMON_API LocaleConstant GetLocaleByName(const std::string& name); typedef std::vector<std::string> StringVector; #pragma pack(push, 1) -struct LocalizedString +struct TC_COMMON_API LocalizedString { char const* Str[TOTAL_LOCALES]; }; |