From f8bcb680f9f0896952f2bea745d1d551a2e6aad3 Mon Sep 17 00:00:00 2001 From: Sung Yoon Whang Date: Fri, 12 Feb 2021 12:56:50 -0800 Subject: [PATCH] Unset FEATURE_EVENTSOURCE_XPLAT in macOS builds --- src/coreclr/clr.featuredefines.props | 2 +- src/coreclr/clrdefinitions.cmake | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coreclr/clr.featuredefines.props b/src/coreclr/clr.featuredefines.props index a205c2d280dd1a..cd6569b48b21af 100644 --- a/src/coreclr/clr.featuredefines.props +++ b/src/coreclr/clr.featuredefines.props @@ -13,7 +13,7 @@ - true + true true true diff --git a/src/coreclr/clrdefinitions.cmake b/src/coreclr/clrdefinitions.cmake index 99a4d61a1805d7..6025b0141746d5 100644 --- a/src/coreclr/clrdefinitions.cmake +++ b/src/coreclr/clrdefinitions.cmake @@ -120,9 +120,9 @@ endif(FEATURE_GDBJIT_LANGID_CS) if(FEATURE_GDBJIT_SYMTAB) add_definitions(-DFEATURE_GDBJIT_SYMTAB) endif(FEATURE_GDBJIT_SYMTAB) -if(CLR_CMAKE_TARGET_UNIX) +if(CLR_CMAKE_TARGET_LINUX) add_definitions(-DFEATURE_EVENTSOURCE_XPLAT) -endif(CLR_CMAKE_TARGET_UNIX) +endif(CLR_CMAKE_TARGET_LINUX) # NetBSD doesn't implement this feature if(NOT CLR_CMAKE_TARGET_NETBSD) add_definitions(-DFEATURE_HIJACK)