[PATCH 09/10 v2] msvcrt: Create global C locale __lc_time_data struct.

Jeff Smith whydoubt at gmail.com
Wed Dec 4 08:53:47 CST 2019


On Wed, Dec 4, 2019 at 8:32 AM Piotr Caban <piotr at codeweavers.com> wrote:
>
>
> From: Jeff Smith <whydoubt at gmail.com>
>
> Signed-off-by: Jeff Smith <whydoubt at gmail.com>
> Signed-off-by: Piotr Caban <piotr at codeweavers.com>
> ---
>   dlls/msvcrt/locale.c | 158 ++++++++++++++++++++++++++-----------------
>   dlls/msvcrt/msvcrt.h |   1 +
>   2 files changed, 97 insertions(+), 62 deletions(-)
>
>+#if _MSVCR_VER >= 110
>+static MSVCRT_wchar_t en_us[] = {'e','n','-','U','S',0};
>+#endif

Hi Piotr,

I believe en_US[] should be const as well.

Thanks,
Jeff



More information about the wine-devel mailing list