Skip to content
Permalink
Browse files

x64 fix

  • Loading branch information...
alabuzhev committed Jul 1, 2017
1 parent 0266c7c commit d6f22596ba0e23f8719cafcf6df0104bd9a75d6a
Showing with 8 additions and 1 deletion.
  1. +8 −1 plugins/common/vc_crt_fix_impl.cpp
@@ -140,7 +140,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 d6f2259

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