Skip to content

Commit f5667fd

Browse files
don't define HAS_CUSTOM_BLOCKS on mono (#106801)
Co-authored-by: EgorBo <egorbo@gmail.com>
1 parent 0128ecb commit f5667fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Private.CoreLib/src/System/SpanHelpers.ByteMemOps.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
#if TARGET_AMD64 || TARGET_ARM64 || (TARGET_32BIT && !TARGET_ARM) || TARGET_LOONGARCH64
4+
#if !MONO && (TARGET_AMD64 || TARGET_ARM64 || (TARGET_32BIT && !TARGET_ARM) || TARGET_LOONGARCH64)
55
// JIT is guaranteed to unroll blocks up to 64 bytes in size
66
#define HAS_CUSTOM_BLOCKS
77
#endif

0 commit comments

Comments
 (0)