Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-06-23 22:19:30 +0300
committerJan Kotas <jkotas@microsoft.com>2016-06-23 22:24:51 +0300
commit5355e053047d4d2941795be45442cfc860dd8012 (patch)
treecd74cf0281c77f987e8c38a400afb89afcfb160f /src
parent52ecdc6a468c70cfa8bd21b6b067b8ae8e6fcdd3 (diff)
Fixes for gc update
Diffstat (limited to 'src')
-rw-r--r--src/Native/CMakeLists.txt3
-rw-r--r--src/Native/Runtime/gcrhenv.cpp2
-rw-r--r--src/Native/functions.cmake7
3 files changed, 11 insertions, 1 deletions
diff --git a/src/Native/CMakeLists.txt b/src/Native/CMakeLists.txt
index d3a74ff05..401318c8f 100644
--- a/src/Native/CMakeLists.txt
+++ b/src/Native/CMakeLists.txt
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 2.8.12)
project(CoreRT)
+# Include cmake functions
+include(functions.cmake)
+
set(CMAKE_MACOSX_RPATH ON)
set(CMAKE_INSTALL_PREFIX $ENV{__CMakeBinDir})
set(CMAKE_INCLUDE_CURRENT_DIR ON)
diff --git a/src/Native/Runtime/gcrhenv.cpp b/src/Native/Runtime/gcrhenv.cpp
index c35048518..46995988e 100644
--- a/src/Native/Runtime/gcrhenv.cpp
+++ b/src/Native/Runtime/gcrhenv.cpp
@@ -1313,7 +1313,7 @@ void StompWriteBarrierResize(bool /* isRuntimeSuspended */, bool /*bReqUpperBoun
{
}
-bool IsSuspendEEThread()
+bool IsGCThread()
{
return false;
}
diff --git a/src/Native/functions.cmake b/src/Native/functions.cmake
new file mode 100644
index 000000000..82ea85018
--- /dev/null
+++ b/src/Native/functions.cmake
@@ -0,0 +1,7 @@
+function(_add_executable)
+ add_executable(${ARGV})
+endfunction()
+
+function(_add_library)
+ add_library(${ARGV})
+endfunction()