diff options
Diffstat (limited to 'crypto/src/util/Integers.cs')
-rw-r--r-- | crypto/src/util/Integers.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/util/Integers.cs b/crypto/src/util/Integers.cs index b32cdfc30..ff907ac80 100644 --- a/crypto/src/util/Integers.cs +++ b/crypto/src/util/Integers.cs @@ -1,5 +1,5 @@ using System; -#if NET5_0_OR_GREATER +#if NETCOREAPP3_0_OR_GREATER using System.Runtime.Intrinsics.X86; #endif @@ -45,7 +45,7 @@ namespace Org.BouncyCastle.Utilities public static int NumberOfLeadingZeros(int i) { -#if NET5_0_OR_GREATER +#if NETCOREAPP3_0_OR_GREATER if (Lzcnt.IsSupported) { return (int)Lzcnt.LeadingZeroCount((uint)i); @@ -67,7 +67,7 @@ namespace Org.BouncyCastle.Utilities public static int NumberOfTrailingZeros(int i) { -#if NET5_0_OR_GREATER +#if NETCOREAPP3_0_OR_GREATER if (Bmi1.IsSupported) { return (int)Bmi1.TrailingZeroCount((uint)i); |