Added IntPtrOp alias

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6929 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-10-13 21:23:33 +00:00
parent 97898cc03b
commit 34e9873d5f
10 changed files with 59 additions and 24 deletions

View file

@ -60,11 +60,7 @@ Pop ${r}
!verbose pop
!macroend
!macro IntPtrOp r a o b
!if ${NSIS_PTR_SIZE} <= 4
${Int32Op} `${r}` `${a}` `${o}` `${b}`
!else
${Int64Op} `${r}` `${a}` `${o}` `${b}`
!endif
IntPtrOp `${r}` `${a}` `${o}` `${b}`
!macroend
!define Int32Cmp '!insertmacro Int32Cmp '