Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

[x86/Linux] Fix dangling DoubleToNumber and NumberToDouble #8446

Merged
merged 1 commit into from
Dec 5, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/classlibnative/bcltype/number.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static const char* const negNumberFormats[] = {

static const char posNumberFormat[] = "#";

#if defined(_TARGET_X86_)
#if defined(_TARGET_X86_) && !defined(FEATURE_PAL)

extern "C" void _cdecl /*__stdcall*/ DoubleToNumber(double value, int precision, NUMBER* number);
extern "C" void _cdecl /*__stdcall*/ NumberToDouble(NUMBER* number, double* value);
Expand Down Expand Up @@ -132,7 +132,7 @@ unsigned int Int64DivMod1E9(unsigned __int64* value)

#pragma warning(default:4035)

#else // !(defined(_TARGET_X86_)
#else // _TARGET_X86_ && !FEATURE_PAL

#pragma warning(disable:4273)
extern "C" char* __cdecl _ecvt(double, int, int*, int*);
Expand Down Expand Up @@ -607,7 +607,7 @@ unsigned int Int64DivMod1E9(unsigned __int64* value)



#endif // !(defined(_TARGET_X86_)
#endif // _TARGET_X86_ && !FEATURE_PAL

#if defined(_MSC_VER) && defined(_TARGET_X86_)
#pragma optimize("y", on) // Small critical routines, don't put in EBP frame
Expand Down