jscript: Prefer builtin version.
This commit is contained in:
parent
4f1a71ab0d
commit
8613d5e9cc
|
@ -136,10 +136,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
||||||
{
|
{
|
||||||
TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv);
|
TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv);
|
||||||
|
|
||||||
switch(fdwReason)
|
switch(fdwReason) {
|
||||||
{
|
|
||||||
case DLL_WINE_PREATTACH:
|
|
||||||
return FALSE; /* prefer native version */
|
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
DisableThreadLibraryCalls(hInstDLL);
|
DisableThreadLibraryCalls(hInstDLL);
|
||||||
jscript_hinstance = hInstDLL;
|
jscript_hinstance = hInstDLL;
|
||||||
|
|
Loading…
Reference in New Issue