diff options
author | Shauren <shauren.trinity@gmail.com> | 2013-03-17 16:04:52 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2013-03-17 16:04:52 +0100 |
commit | df3954521ee5e543173f804193cd2f8e40edac3a (patch) | |
tree | 64b8a7af702fd0e902ca0e81beb76ef8bcfea06c /src/server/shared/Common.h | |
parent | ffe25145eb905a34225714251e2a0b1daf6e0ff8 (diff) |
Core/DataStores: Implemented using locales in .db2 stores
Diffstat (limited to 'src/server/shared/Common.h')
-rw-r--r-- | src/server/shared/Common.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/server/shared/Common.h b/src/server/shared/Common.h index 70ee32d2868..779eb95e291 100644 --- a/src/server/shared/Common.h +++ b/src/server/shared/Common.h @@ -181,6 +181,23 @@ LocaleConstant GetLocaleByName(const std::string& name); typedef std::vector<std::string> StringVector; +#if defined(__GNUC__) +#pragma pack(1) +#else +#pragma pack(push, 1) +#endif + +struct LocalizedString +{ + char const* Str[TOTAL_LOCALES]; +}; + +#if defined(__GNUC__) +#pragma pack() +#else +#pragma pack(pop) +#endif + // we always use stdlibc++ std::max/std::min, undefine some not C++ standard defines (Win API and some other platforms) #ifdef max #undef max |