ugly: undefine memmove to avoid build failure with gcc fortify
extensions enabled
This commit is contained in:
1 parent
f62601ac53
commit
44f5273e02
1 file changed
+4
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user