Skip to content

Commit

Permalink
Fix build for more MSVC versions
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenz committed Dec 3, 2021
1 parent 3cb5fc4 commit f5da3ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion msvc/oracle_msvc.c
Expand Up @@ -53,4 +53,8 @@ oracleDelayLoadFailureHook(unsigned dliNotify, PDelayLoadInfo pdli)
return 0;
}

ExternC const PfnDliHook __pfnDliFailureHook2 = oracleDelayLoadFailureHook;
ExternC
#if _MSC_FULL_VER >= 190024210 /* VS 2015 Update 3 */
const
#endif
PfnDliHook __pfnDliFailureHook2 = oracleDelayLoadFailureHook;

0 comments on commit f5da3ce

Please sign in to comment.