Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Dec 28, 2024
1 parent d1407b9 commit 5d87cd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions far/vc_crt_fix_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ extern "C" PSLIST_ENTRY WINAPI WRAPPER(InterlockedFlushSList)(PSLIST_HEADER List
#ifdef _WIN64
// The oldest x64 OS (XP) already has SList, so this shall never be called.
DebugBreak();
return {};
#else
if (!ListHead->Next.Next)
return {};
Expand Down Expand Up @@ -214,6 +215,7 @@ extern "C" PSLIST_ENTRY WINAPI WRAPPER(InterlockedPushEntrySList)(PSLIST_HEADER
#ifdef _WIN64
// The oldest x64 OS (XP) already has SList, so this shall never be called.
DebugBreak();
return {};
#else
SLIST_HEADER OldHeader, NewHeader;
NewHeader.Next.Next = ListEntry;
Expand Down
2 changes: 2 additions & 0 deletions plugins/common/vc_crt_fix_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ extern "C" PSLIST_ENTRY WINAPI WRAPPER(InterlockedFlushSList)(PSLIST_HEADER List
#ifdef _WIN64
// The oldest x64 OS (XP) already has SList, so this shall never be called.
DebugBreak();
return {};
#else
if (!ListHead->Next.Next)
return {};
Expand Down Expand Up @@ -214,6 +215,7 @@ extern "C" PSLIST_ENTRY WINAPI WRAPPER(InterlockedPushEntrySList)(PSLIST_HEADER
#ifdef _WIN64
// The oldest x64 OS (XP) already has SList, so this shall never be called.
DebugBreak();
return {};
#else
SLIST_HEADER OldHeader, NewHeader;
NewHeader.Next.Next = ListEntry;
Expand Down

0 comments on commit 5d87cd2

Please sign in to comment.