Skip to content

Commit

Permalink
Merge pull request #23 from unknownv2/dev-tests
Browse files Browse the repository at this point in the history
fix: Update detour_assert to use the parameters when building in release mode with nmake
  • Loading branch information
unknownv2 authored Oct 21, 2018
2 parents bd6c677 + dea463d commit 3e27ec4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/barrier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,11 @@ VOID detour_assert(PCSTR pszMsg, LPCWSTR pszFile, ULONG nLine)
DETOUR_TRACE(("DETOUR_ASSERT(%s) failed in %ws, line %d.\n", pszMsg, pszFile, nLine));
#ifdef _DEBUG
DETOUR_BREAK();
#else
(void)pszMsg;
(void)nLine;
#endif
FatalAppExit(0, pszFile);
FatalAppExitW(0, pszFile);
}

LONG WINAPI DetourSetGlobalInclusiveACL(_In_ DWORD *dwThreadIdList,
Expand Down

0 comments on commit 3e27ec4

Please sign in to comment.