aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/CodeGen/X86/CallingConvention.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/CodeGen/X86/CallingConvention.cs')
-rw-r--r--ARMeilleure/CodeGen/X86/CallingConvention.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ARMeilleure/CodeGen/X86/CallingConvention.cs b/ARMeilleure/CodeGen/X86/CallingConvention.cs
index 2769fd93..74799623 100644
--- a/ARMeilleure/CodeGen/X86/CallingConvention.cs
+++ b/ARMeilleure/CodeGen/X86/CallingConvention.cs
@@ -151,7 +151,7 @@ namespace ARMeilleure.CodeGen.X86
public static CallConvName GetCurrentCallConv()
{
- return RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
+ return OperatingSystem.IsWindows()
? CallConvName.Windows
: CallConvName.SystemV;
}