Skip to content

Commit

Permalink
FallbackGroupTarget - Fixed spelling of WINDOWS_PHONE define
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed Apr 20, 2019
1 parent 2fffff4 commit 5dd5ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NLog/Targets/Wrappers/FallbackGroupTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected override void Write(AsyncLogEventInfo logEvent)
if (ReturnToFirstOnSuccess)
{
#pragma warning disable S1066 // Collapsible "if" statements should be merged
#if !SILVERLIGHT || WINDOWS_PHONEs
#if !SILVERLIGHT || WINDOWS_PHONE
if (Interlocked.Read(ref _currentTarget) != 0)
#else
if (Interlocked.CompareExchange(ref _currentTarget, 0, 0) != 0)
Expand Down

0 comments on commit 5dd5ba5

Please sign in to comment.