bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] vasnprintf include alloca.h unconditionally


From: Simon Josefsson
Subject: [bug-gnulib] vasnprintf include alloca.h unconditionally
Date: Fri, 17 Dec 2004 19:06:33 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

vasnprintf depend only optionally on alloca, via alloca-opt, but
include alloca.h unconditionally.  How about this patch?  Presumably,
LIBINTL does not define HAVE_ALLOCA.

--- vasnprintf.c        08 Sep 2004 14:31:04 +0200      1.14
+++ vasnprintf.c        17 Dec 2004 19:04:57 +0100      
@@ -25,7 +25,7 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
-#ifndef IN_LIBINTL
+#if HAVE_ALLOCA
 # include <alloca.h>
 #endif
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]