ugly: undefine memmove to avoid build failure with gcc fortify

extensions enabled
This commit is contained in:
Ludwig Nussel 2005-10-09 13:06:33 +00:00
parent f62601ac53
commit 44f5273e02
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ setup(int argc, char **argv)
/* memmove is defined here because some vendors don't provide it at
all and others do a terrible job (like calling malloc) */
// -- ouch, that hurts -- ln
#ifdef memmove
#undef memmove
#endif
void *
memmove(void *dp, const void *sp, size_t n)
{