4coder-non-source/test_data/lots_of_files/xthdloc.c

20 lines
532 B
C
Raw Normal View History

2023-09-30 01:17:40 +00:00
/***
*xthdloc.c - sets the __globallocalestatus flag to disable per thread locale
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* Sets the __globallocalestatus flag to enable per thread locale.
* Link with this obj to enable per thread locale.
*
*******************************************************************************/
#include <cruntime.h>
#include <mtdll.h>
#include <internal.h>
#include <locale.h>
#include <setlocal.h>
int __globallocalestatus = (~_GLOBAL_LOCALE_BIT) ;