diff options
author | Jim Meyering <jim@meyering.net> | 2001-10-22 08:01:22 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-10-22 08:01:22 +0000 |
commit | e28263f67308abd9adb00a98a007bc56aed0d93c (patch) | |
tree | 0acbe381608fce3e9fe82d44e15e2bb16bc61ed0 /lib | |
parent | b96c3e6a5d3b06725a664cc5cfb489d98b5b59b4 (diff) | |
download | coreutils-e28263f67308abd9adb00a98a007bc56aed0d93c.tar.xz |
(alloca): Define to __builtin_alloca if __GNUC__,
to avoid a warning if -Wall.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hard-locale.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/hard-locale.c b/lib/hard-locale.c index 1c75b390a..01e0ebdd7 100644 --- a/lib/hard-locale.c +++ b/lib/hard-locale.c @@ -19,7 +19,9 @@ # include <config.h> #endif -#ifndef __GNUC__ +#if __GNUC__ +# define alloca __builtin_alloca +#else # ifdef HAVE_ALLOCA_H # include <alloca.h> # else |