mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
fix for mingw "alloca" being redefined
This commit is contained in:
parent
33e5a31ab7
commit
974146f944
@ -5,7 +5,7 @@
|
|||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (__MINGW32__)
|
#if defined (__MINGW32__) && !defined(alloca)
|
||||||
# define alloca __builtin_alloca
|
# define alloca __builtin_alloca
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user