Skip to content

Commit 6055dfa

Browse files
authored
Unset FEATURE_EVENTSOURCE_XPLAT in macOS builds (#48244)
1 parent 7e681c1 commit 6055dfa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/coreclr/clr.featuredefines.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414

1515
<PropertyGroup Condition="'$(TargetsUnix)' == 'true'">
16-
<FeatureXplatEventSource>true</FeatureXplatEventSource>
16+
<FeatureXplatEventSource Condition="'$(TargetOS)'!='OSX'">true</FeatureXplatEventSource>
1717

1818
<FeatureArrayStubAsIL>true</FeatureArrayStubAsIL>
1919
<FeatureMulticastStubAsIL>true</FeatureMulticastStubAsIL>

src/coreclr/clrdefinitions.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ endif(FEATURE_GDBJIT_LANGID_CS)
120120
if(FEATURE_GDBJIT_SYMTAB)
121121
add_definitions(-DFEATURE_GDBJIT_SYMTAB)
122122
endif(FEATURE_GDBJIT_SYMTAB)
123-
if(CLR_CMAKE_TARGET_UNIX)
123+
if(CLR_CMAKE_TARGET_LINUX)
124124
add_definitions(-DFEATURE_EVENTSOURCE_XPLAT)
125-
endif(CLR_CMAKE_TARGET_UNIX)
125+
endif(CLR_CMAKE_TARGET_LINUX)
126126
# NetBSD doesn't implement this feature
127127
if(NOT CLR_CMAKE_TARGET_NETBSD)
128128
add_definitions(-DFEATURE_HIJACK)

0 commit comments

Comments
 (0)