SCons/Config/gnu now takes care of adding memcpy if it's needed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4008 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
db43f63346
commit
add9fa0bee
1 changed files with 0 additions and 14 deletions
|
@ -334,20 +334,6 @@ 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)
|
||||
{
|
||||
int attr = GetFileAttributes(fn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue