Remove macro definition checks that aren't useful and cause unnecessary build breaks...
authorSean Gillespie <segilles@microsoft.com>
Tue, 22 Aug 2017 21:37:53 +0000 (14:37 -0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 22 Aug 2017 21:37:53 +0000 (14:37 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/1eea080a7b3a13110975b92034a22e4fc473df46

src/coreclr/src/gc/env/gcenv.base.h

index 98a4235..74c8c4f 100644 (file)
@@ -209,14 +209,6 @@ typedef DWORD (WINAPI *PTHREAD_START_ROUTINE)(void* lpThreadParameter);
 
 #endif // _MSC_VER
 
-#ifndef YieldProcessor
- #error "Don't know how to YieldProcessor on this architecture"
-#endif
-
-#ifndef MemoryBarrier
- #error "Don't know how to MemoryBarrier on this architecture"
-#endif
-
 #ifdef _MSC_VER
 #pragma intrinsic(_BitScanForward)
 #if WIN64