changeset 3561:74b404d45147

(alloca): Define to __builtin_alloca if __GNUC__, to avoid a warning if -Wall.
author Jim Meyering <jim@meyering.net>
date Mon, 22 Oct 2001 08:01:22 +0000
parents 32ef5c533da8
children 6fbd963bebf7
files lib/hard-locale.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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