mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 14:39:46 +00:00
[CRT] We never use the mthread library
This commit is contained in:
parent
3ee1eb42a5
commit
fe3278d4d6
1 changed files with 1 additions and 15 deletions
|
@ -18,21 +18,10 @@ int __mingwthr_remove_key_dtor (DWORD key);
|
||||||
extern int ___w64_mingwthr_remove_key_dtor (DWORD key);
|
extern int ___w64_mingwthr_remove_key_dtor (DWORD key);
|
||||||
extern int ___w64_mingwthr_add_key_dtor (DWORD key, void (*dtor)(void *));
|
extern int ___w64_mingwthr_add_key_dtor (DWORD key, void (*dtor)(void *));
|
||||||
|
|
||||||
|
|
||||||
#ifndef _WIN64
|
|
||||||
extern int __mingw_usemthread_dll;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
__mingwthr_remove_key_dtor (DWORD key)
|
__mingwthr_remove_key_dtor (DWORD key)
|
||||||
{
|
{
|
||||||
#ifndef _WIN64
|
|
||||||
if (!__mingw_usemthread_dll)
|
|
||||||
#endif
|
|
||||||
return ___w64_mingwthr_remove_key_dtor (key);
|
return ___w64_mingwthr_remove_key_dtor (key);
|
||||||
#ifndef _WIN64
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -40,9 +29,6 @@ __mingwthr_key_dtor (DWORD key, void (*dtor)(void *))
|
||||||
{
|
{
|
||||||
if (dtor)
|
if (dtor)
|
||||||
{
|
{
|
||||||
#ifndef _WIN64
|
|
||||||
if (!__mingw_usemthread_dll)
|
|
||||||
#endif
|
|
||||||
return ___w64_mingwthr_add_key_dtor (key, dtor);
|
return ___w64_mingwthr_add_key_dtor (key, dtor);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue