Fixed MinGW (GCC 4.5.2)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6530 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5bfd937bd2
commit
9950ce1432
12 changed files with 50 additions and 22 deletions
|
@ -362,9 +362,9 @@ end:
|
|||
}
|
||||
|
||||
IS=myGetProcAddress(MGA_InitiateShutdown);
|
||||
if (IS && !IS(NULL, NULL, 0, SHUTDOWN_RESTART | SHUTDOWN_FORCE_OTHERS | SHUTDOWN_GRACE_OVERRIDE, reason)
|
||||
|| !ExitWindowsEx(EWX_REBOOT, reason)
|
||||
)
|
||||
if ( (IS && !IS(NULL, NULL, 0, SHUTDOWN_RESTART | SHUTDOWN_FORCE_OTHERS | SHUTDOWN_GRACE_OVERRIDE, reason))
|
||||
|| (!ExitWindowsEx(EWX_REBOOT, reason))
|
||||
)
|
||||
ExecuteCallbackFunction(CB_ONREBOOTFAILED);
|
||||
}
|
||||
#endif//NSIS_SUPPORT_REBOOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue