summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/libasprintf
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-02-13 21:49:56 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:09:17 +0200
commit88ce947735e19f79444b96156961fbf6bab9cb73 (patch)
treebd2a4c3a7e080da8cf93ecbcc43d1a41e428abbc /gettext-runtime/libasprintf
parent3d37fb9a60d0fe0acb4d40d01f9f1f61b897b1d2 (diff)
downloadexternal_gettext-88ce947735e19f79444b96156961fbf6bab9cb73.zip
external_gettext-88ce947735e19f79444b96156961fbf6bab9cb73.tar.gz
external_gettext-88ce947735e19f79444b96156961fbf6bab9cb73.tar.bz2
Move libasprintf/lib-asprintf.h to gettext-runtime/libasprintf/lib-asprintf.h.
Diffstat (limited to 'gettext-runtime/libasprintf')
-rw-r--r--gettext-runtime/libasprintf/lib-asprintf.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gettext-runtime/libasprintf/lib-asprintf.h b/gettext-runtime/libasprintf/lib-asprintf.h
new file mode 100644
index 0000000..916e331
--- /dev/null
+++ b/gettext-runtime/libasprintf/lib-asprintf.h
@@ -0,0 +1,34 @@
+/* Library functions for class autosprintf.
+ Copyright (C) 2002 Free Software Foundation, Inc.
+ Written by Bruno Haible <bruno@clisp.org>, 2002.
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published
+ by the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ USA. */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#if HAVE_VASPRINTF
+
+/* Get asprintf(), vasprintf() declarations. */
+#include <stdio.h>
+
+#else
+
+/* Get asprintf(), vasprintf() declarations. */
+#include "vasprintf.h"
+
+#endif