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

View file

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