From 7080c7eab77567bf9caeb295076293913a62f3ac Mon Sep 17 00:00:00 2001 From: Pavel Koneski Date: Fri, 15 May 2026 15:50:59 -0700 Subject: [PATCH] Postpone variadic support check till .NET 12 --- src/core/IronPython.Modules/fcntl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/IronPython.Modules/fcntl.cs b/src/core/IronPython.Modules/fcntl.cs index 2380d13dd..31db77aae 100644 --- a/src/core/IronPython.Modules/fcntl.cs +++ b/src/core/IronPython.Modules/fcntl.cs @@ -121,7 +121,7 @@ public static object fcntl(CodeContext context, object? fd, int cmd, [Optional] // so as a workaround, nonvararg prototypes are defined for each architecture. // [1]: https://github.com/dotnet/runtime/issues/48796 -#if NET11_0_OR_GREATER +#if NET12_0_OR_GREATER #error Check if this version of .NET supports P/Invoke of variadic functions; if not, change the condition to recheck at next major .NET version #endif