diff options
| author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-03-01 02:25:50 +0200 |
|---|---|---|
| committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-03-01 02:25:50 +0200 |
| commit | 2ab914a9cdd1ad809879aca05dbf4b624949ecea (patch) | |
| tree | c2eb5d49ad6d0db73cf2374704ede44370910d12 /indra/llcommon/stdtypes.h | |
| parent | de91391bdd71dd7c9634cf9a736e1032d0fe983e (diff) | |
| parent | 36cb6933e6c1ad92e1887503b74a05c32988b0f1 (diff) | |
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llcommon/stdtypes.h')
| -rw-r--r-- | indra/llcommon/stdtypes.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llcommon/stdtypes.h b/indra/llcommon/stdtypes.h index bf3f3f9ee8..6c9871e76c 100644 --- a/indra/llcommon/stdtypes.h +++ b/indra/llcommon/stdtypes.h @@ -37,7 +37,12 @@ typedef signed int S32; typedef unsigned int U32; #if LL_WINDOWS -// Windows wchar_t is 16-bit +// https://docs.microsoft.com/en-us/cpp/build/reference/zc-wchar-t-wchar-t-is-native-type +// https://docs.microsoft.com/en-us/cpp/cpp/fundamental-types-cpp +// Windows wchar_t is 16-bit, whichever way /Zc:wchar_t is set. In effect, +// Windows wchar_t is always a typedef, either for unsigned short or __wchar_t. +// (__wchar_t, available either way, is Microsoft's native 2-byte wchar_t type.) +// In any case, llwchar should be a UTF-32 type. typedef U32 llwchar; #else typedef wchar_t llwchar; |
