Added compressor setting option
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3167 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
52c888841d
commit
7fe6a9959d
13 changed files with 301 additions and 125 deletions
|
@ -48,4 +48,11 @@ char *my_strstr(char *i, char *s) {
|
|||
void *my_memset(void *dest, int c, size_t count) {
|
||||
for (size_t i=0; i<count;i++) ((char*)dest)[i]=c;
|
||||
return dest;
|
||||
}
|
||||
|
||||
int lstrcmpn(char *s1, const char *s2, int chars)
|
||||
{
|
||||
while ((chars > 0) && (*s1) && (*s2) && (*(s1) == *(s2))) chars--, s1++, s2++;
|
||||
if ((chars == 0) || (*s1 == *s2)) return 0;
|
||||
return (*s1 - *s2);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue