summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
authorDavid Mason <davmason@microsoft.com>2019-05-23 00:19:41 -0700
committerGitHub <noreply@github.com>2019-05-23 00:19:41 -0700
commitbbde6ae7dc9f06201c9bcabd49e790632965227e (patch)
treef08ec37769ad15dcfb4101f7f3152320cfafd0af /clrdefinitions.cmake
parent451fd23fa2179fa22c831bcf84edd547bfba5cd9 (diff)
downloadcoreclr-bbde6ae7dc9f06201c9bcabd49e790632965227e.tar.gz
coreclr-bbde6ae7dc9f06201c9bcabd49e790632965227e.tar.bz2
coreclr-bbde6ae7dc9f06201c9bcabd49e790632965227e.zip
Profiler attach over the diagnostics pipe (#24670)
Remove the old windows only profiler attach mechanism and replace it with a cross plat implementation over the diagnostics pipe
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index 56088ddf3f..3c4c5e57e0 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -176,9 +176,9 @@ if(CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_FREEBSD)
add_definitions(-DFEATURE_PERFMAP)
endif(CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_FREEBSD)
-if(NOT CLR_CMAKE_PLATFORM_UNIX)
+if(WIN32 OR CLR_CMAKE_PLATFORM_LINUX)
add_definitions(-DFEATURE_PROFAPI_ATTACH_DETACH)
-endif(NOT CLR_CMAKE_PLATFORM_UNIX)
+endif(WIN32 OR CLR_CMAKE_PLATFORM_LINUX)
add_definitions(-DFEATURE_READYTORUN)
set(FEATURE_READYTORUN 1)