Fix check.* cross compilation linker errors (#31751)
authorSteve MacLean <Steve.MacLean@microsoft.com>
Wed, 5 Feb 2020 00:55:30 +0000 (19:55 -0500)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 00:55:30 +0000 (19:55 -0500)
src/coreclr/src/inc/check.inl

index 47ffd15..7e36b18 100644 (file)
@@ -180,7 +180,7 @@ inline CHECK CheckAligned(UINT value, UINT alignment)
     CHECK_OK;
 }
 
-#ifndef TARGET_UNIX
+#ifndef HOST_UNIX
 // For Unix this and the previous function get the same types.
 // So, exclude this one.
 inline CHECK CheckAligned(ULONG value, UINT alignment)
@@ -189,7 +189,7 @@ inline CHECK CheckAligned(ULONG value, UINT alignment)
     CHECK(AlignmentTrim(value, alignment) == 0);
     CHECK_OK;
 }
-#endif // TARGET_UNIX
+#endif // HOST_UNIX
 
 inline CHECK CheckAligned(UINT64 value, UINT alignment)
 {
@@ -270,7 +270,7 @@ inline CHECK CheckUnderflow(UINT value1, UINT value2)
     CHECK_OK;
 }
 
-#ifndef TARGET_UNIX
+#ifndef HOST_UNIX
 // For Unix this and the previous function get the same types.
 // So, exclude this one.
 inline CHECK CheckUnderflow(ULONG value1, ULONG value2)
@@ -279,7 +279,7 @@ inline CHECK CheckUnderflow(ULONG value1, ULONG value2)
 
     CHECK_OK;
 }
-#endif // TARGET_UNIX
+#endif // HOST_UNIX
 
 inline CHECK CheckUnderflow(UINT64 value1, UINT64 value2)
 {