X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fvasprintf.c;h=2f38c3a7ac482301fb3f54501f40a515f85ef9fc;hb=c300871bbb6b330d0a6087fb843d1f1179569da0;hp=885d1e563970a0eec94023a4a9ad042a56e25e48;hpb=6e2afe5ad7c90ae9422ae2657dd842deed21731e;p=gnulib.git diff --git a/lib/vasprintf.c b/lib/vasprintf.c index 885d1e563..2f38c3a7a 100644 --- a/lib/vasprintf.c +++ b/lib/vasprintf.c @@ -1,5 +1,5 @@ /* Formatted output to strings. - Copyright (C) 1999, 2002, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 1999, 2002, 2006-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,7 +18,11 @@ #include /* Specification. */ -#include +#ifdef IN_LIBASPRINTF +# include "vasprintf.h" +#else +# include +#endif #include #include @@ -26,11 +30,6 @@ #include "vasnprintf.h" -/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ -#ifndef EOVERFLOW -# define EOVERFLOW E2BIG -#endif - int vasprintf (char **resultp, const char *format, va_list args) {