mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
ugly: undefine memmove to avoid build failure with gcc fortify
extensions enabled
This commit is contained in:
parent
f62601ac53
commit
44f5273e02
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue