(alloca): Define to __builtin_alloca if __GNUC__,
authorJim Meyering <jim@meyering.net>
Mon, 22 Oct 2001 08:01:22 +0000 (08:01 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 22 Oct 2001 08:01:22 +0000 (08:01 +0000)
to avoid a warning if -Wall.

lib/hard-locale.c

index 1c75b39..01e0ebd 100644 (file)
@@ -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