summaryrefslogtreecommitdiff
path: root/src/gc/env/gcenv.base.h
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-01-12 18:59:14 +0100
committerJan Vorlicek <janvorli@microsoft.com>2016-01-12 19:03:31 +0100
commit1e528c865ab4f2288afefde1dd4f5876d6be74fa (patch)
tree5bbdb30ead8b63e7adbed1eb9be46cae68004b76 /src/gc/env/gcenv.base.h
parent7b53dd3159eff6abaed9f8fe40141b25e2e9a944 (diff)
downloadcoreclr-1e528c865ab4f2288afefde1dd4f5876d6be74fa.tar.gz
coreclr-1e528c865ab4f2288afefde1dd4f5876d6be74fa.tar.bz2
coreclr-1e528c865ab4f2288afefde1dd4f5876d6be74fa.zip
Fix few details in the GC
- For Unix, the definition of __forceinline was missing the inline - Allocation of GCThreadStubParams was missing a check for failure - Removed few unnecessary #ifdefs for FEATURE_PAL from the GC sample - Removed several obsolete functions from the GC sample
Diffstat (limited to 'src/gc/env/gcenv.base.h')
-rw-r--r--src/gc/env/gcenv.base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/env/gcenv.base.h b/src/gc/env/gcenv.base.h
index 791648fe8a..fdfa0fc5eb 100644
--- a/src/gc/env/gcenv.base.h
+++ b/src/gc/env/gcenv.base.h
@@ -19,7 +19,7 @@
#ifndef _MSC_VER
#define __stdcall
#ifdef __clang__
-#define __forceinline __attribute__((always_inline))
+#define __forceinline __attribute__((always_inline)) inline
#else // __clang__
#define __forceinline inline
#endif // __clang__