fixed gcc 3.4 compile errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3673 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3e7c2c464d
commit
8759dcc315
1 changed files with 13 additions and 0 deletions
|
@ -328,6 +328,19 @@ void NSISCALL mini_memcpy(void *out, const void *in, int len)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
void *memcpy(void *out, const void *in, size_t len)
|
||||
{
|
||||
char *c_out=(char*)out;
|
||||
char *c_in=(char *)in;
|
||||
while (len-- > 0)
|
||||
{
|
||||
*c_out++=*c_in++;
|
||||
}
|
||||
return out;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
HANDLE NSISCALL myOpenFile(const char *fn, DWORD da, DWORD cd)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue