StrFunc question
The string manipulation functions in StrFunc.nsh must be "declared" before they are used:
!include "StrFunc.nsh"
${StrTok}
... go on to use ${StrTok}
That's all well and good, but I use these functions in a bunch of other .nsh files and at the moment have to place the declaration in the main .nsi file. Otherwise I get compilation errors.
All very understandable, but is their a way to protect the declaration above so that my .nsh files can be self-contained?
I imagine some
!ifndef foo
${StrTok}
!endif
but have been unable to figure out exactly what.
Angus