diff options
Diffstat (limited to 'src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs')
-rw-r--r-- | src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs b/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs index 4fba126b2..e9066eb64 100644 --- a/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs +++ b/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs @@ -10,7 +10,11 @@ internal static partial class Interop { internal unsafe partial class Sys { +#if !MONO [DllImport(Interop.Libraries.CoreLibNative, EntryPoint = "CoreLibNative_DoubleToString")] +#else + [MethodImplAttribute(MethodImplOptions.InternalCall)] +#endif internal static extern unsafe int DoubleToString(double value, byte* format, byte* buffer, int bufferLength); } } |