mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
mingw: don't try to redefine alloca
mingw already has a #define alloca __builtin_alloca so trying to redefine it triggers a warning.
This commit is contained in:
parent
a107b62a74
commit
ea9e91cd8d
@ -41,7 +41,9 @@ extern "C" {
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
#elif defined __GNUC__
|
||||
#if !defined alloca
|
||||
# define alloca __builtin_alloca
|
||||
#endif
|
||||
#elif defined _AIX
|
||||
# define alloca __alloca
|
||||
#elif defined _MSC_VER
|
||||
|
||||
Loading…
Reference in New Issue
Block a user