mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-13 20:06:37 +08:00
(alloca): Define to __builtin_alloca if __GNUC__,
to avoid a warning if -Wall.
This commit is contained in:
parent
b96c3e6a5d
commit
e28263f673
@ -19,7 +19,9 @@
|
|||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __GNUC__
|
#if __GNUC__
|
||||||
|
# define alloca __builtin_alloca
|
||||||
|
#else
|
||||||
# ifdef HAVE_ALLOCA_H
|
# ifdef HAVE_ALLOCA_H
|
||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user