Skip to content

Commit 1f1095e

Browse files
authored
[src] Fix missing _OR_GREATER in conditional constants. (#22738)
1 parent 2b88970 commit 1f1095e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AppKit/NSWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public partial class NSWindow {
5252
static bool? track_relased_when_closed;
5353
public static bool TrackReleasedWhenClosed {
5454
get {
55-
#if NET9_0
55+
#if NET9_0_OR_GREATER
5656
return track_relased_when_closed != false;
5757
#else
5858
return track_relased_when_closed == true;

src/rgen/Microsoft.Macios.Generator/IO/TabbedWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public TabbedWriter<T> WriteLine (ReadOnlySpan<char> span)
166166
return this;
167167
}
168168

169-
#if NET9_0
169+
#if NET9_0_OR_GREATER
170170
public TabbedWriter<T> Write (ref DefaultInterpolatedStringHandler handler)
171171
{
172172
Writer.Write (handler.ToStringAndClear ());

0 commit comments

Comments
 (0)