Skip to content

Commit

Permalink
x64 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Jul 1, 2017
1 parent ced464c commit 0266c7c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion far/vc_crt_fix_impl.cpp
Expand Up @@ -151,7 +151,14 @@ namespace slist
namespace implementation
{
#ifdef _WIN64
#error Not implemented
// These stubs are here only to unify compilation, they shall never be needed on x64.
static void WINAPI InitializeSListHead(PSLIST_HEADER ListHead) {}
static PSLIST_ENTRY WINAPI InterlockedFlushSList(PSLIST_HEADER ListHead) { return nullptr; }
static PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER ListHead) { return nullptr; }
static PSLIST_ENTRY WINAPI InterlockedPushEntrySList(PSLIST_HEADER ListHead, PSLIST_ENTRY ListEntry) { return nullptr; }
static PSLIST_ENTRY WINAPI InterlockedPushListSListEx(PSLIST_HEADER ListHead, PSLIST_ENTRY List, PSLIST_ENTRY ListEnd, ULONG Count) { return nullptr; }
static PSLIST_ENTRY WINAPI RtlFirstEntrySList(PSLIST_HEADER ListHead) { return nullptr; }
static USHORT WINAPI QueryDepthSList(PSLIST_HEADER ListHead) { return 0; }
#else
class critical_section
{
Expand Down

0 comments on commit 0266c7c

Please sign in to comment.