Skip to content
Permalink
Browse files

x64 fix

  • Loading branch information...
alabuzhev committed Jul 1, 2017
1 parent ced464c commit 0266c7ca5231bfa5a103d8f1c027ab7853859122
Showing with 8 additions and 1 deletion.
  1. +8 −1 far/vc_crt_fix_impl.cpp
@@ -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
{

0 comments on commit 0266c7c

Please sign in to comment.
You can’t perform that action at this time.