use Int64ShrlMod32 on compiles that generate a call to __aullshr from 64-bit shift

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4268 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-09-16 16:27:43 +00:00
parent ac317eefa4
commit bb87348150
2 changed files with 37 additions and 0 deletions

View file

@ -945,7 +945,11 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
ULARGE_INTEGER a, b;
if (GDFSE(s, &available64, &a, &b))
{
#ifndef _NSIS_NO_INT64_SHR
available = (int)(available64.QuadPart >> 10);
#else
available = (int)(Int64ShrlMod32(available64.QuadPart, 10));
#endif
available_set++;
}
}