From 7266021f0e16011c38686618b73f0eb8e37f1644 Mon Sep 17 00:00:00 2001 From: Egor Bogatov Date: Thu, 22 Aug 2024 11:06:10 +0200 Subject: [PATCH] don't define HAS_CUSTOM_BLOCKS on mono (#106764) --- .../System.Private.CoreLib/src/System/SpanHelpers.ByteMemOps.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.ByteMemOps.cs b/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.ByteMemOps.cs index c4831969ccb0c5..f4a97d15689cb1 100644 --- a/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.ByteMemOps.cs +++ b/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.ByteMemOps.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#if TARGET_AMD64 || TARGET_ARM64 || (TARGET_32BIT && !TARGET_ARM) || TARGET_LOONGARCH64 +#if !MONO && (TARGET_AMD64 || TARGET_ARM64 || (TARGET_32BIT && !TARGET_ARM) || TARGET_LOONGARCH64) // JIT is guaranteed to unroll blocks up to 64 bytes in size #define HAS_CUSTOM_BLOCKS #endif