Skip to content

Commit

Permalink
fix conditional build error from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
micjahn committed Jan 24, 2022
1 parent 693e3ea commit f074045
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/lib/common/StringUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ namespace ZXing.Common
/// <author>Alex Dupre</author>
public static class StringUtils
{
#if (WINDOWS_PHONE || SILVERLIGHT4 || SILVERLIGHT5 || NETFX_CORE || PORTABLE || NETSTANDARD)
/// <summary>
/// default encoding of the current platform (name)
/// </summary>
Expand Down Expand Up @@ -78,7 +77,7 @@ public static class StringUtils

static StringUtils()
{
#if (NETFX_CORE || PORTABLE || NETSTANDARD)
#if (WINDOWS_PHONE || SILVERLIGHT4 || SILVERLIGHT5 || NETFX_CORE || PORTABLE || NETSTANDARD)
PLATFORM_DEFAULT_ENCODING = UTF8;
PLATFORM_DEFAULT_ENCODING_T = Encoding.UTF8;
#else
Expand Down

0 comments on commit f074045

Please sign in to comment.