summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
authorSean Gillespie <sean@swgillespie.me>2016-11-16 09:34:57 -0800
committerGitHub <noreply@github.com>2016-11-16 09:34:57 -0800
commitbb9f30e4658342f83bb3b5639ae24ec92e0a1d2a (patch)
treee2d7e09a74aac2bfead1315fc64e2515ba057145 /clrdefinitions.cmake
parent2c0a2c05ba82460a8d8a4b1e2d98e908e59d5d54 (diff)
downloadcoreclr-bb9f30e4658342f83bb3b5639ae24ec92e0a1d2a.tar.gz
coreclr-bb9f30e4658342f83bb3b5639ae24ec92e0a1d2a.tar.bz2
coreclr-bb9f30e4658342f83bb3b5639ae24ec92e0a1d2a.zip
Enable GCToOSInterface to be defined on the GC side of the GC interface (#8121)
* Re-introduce changes lost in a merge conflict * Enable GCToOSInterface to be defined behind the GC interface when building the GC in standalone mode. Provide a skeleton Windows implementation and the framework for a Unix implementation. * Address code review feedback
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index 99f1ad1a05..08712d45c6 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -164,6 +164,10 @@ add_definitions(-DFEATURE_RANDOMIZED_STRING_HASHING)
add_definitions(-DFEATURE_READYTORUN)
set(FEATURE_READYTORUN 1)
+if (FEATURE_STANDALONE_GC)
+ add_definitions(-DFEATURE_STANDALONE_GC)
+endif(FEATURE_STANDALONE_GC)
+
if (CLR_CMAKE_TARGET_ARCH_AMD64 OR CLR_CMAKE_TARGET_ARCH_I386)
add_definitions(-DFEATURE_REJIT)
endif(CLR_CMAKE_TARGET_ARCH_AMD64 OR CLR_CMAKE_TARGET_ARCH_I386)