mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[FREELDR] Add stubs for pow and log to avoid pulling in the data from CRT (maybe fix printf functions instead?)
This commit is contained in:
parent
1ad4106b84
commit
20e6e17070
1 changed files with 26 additions and 0 deletions
|
@ -98,3 +98,29 @@ int __cdecl iswctype(wint_t wc, wctype_t wctypeFlags)
|
|||
{
|
||||
return _isctype((char)wc, wctypeFlags);
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4164)
|
||||
#pragma function(pow)
|
||||
#pragma function(log)
|
||||
#pragma function(log10)
|
||||
#endif
|
||||
|
||||
// Stubs to avoid pulling in data from CRT
|
||||
double pow(double x, double y)
|
||||
{
|
||||
__debugbreak();
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double log(double x)
|
||||
{
|
||||
__debugbreak();
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double log10(double x)
|
||||
{
|
||||
__debugbreak();
|
||||
return 0.0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue