1 /* GLIB - Library of useful routines for C programming
2 * Copyright (C) 2006-2019 Free Software Foundation, Inc.
3 *
4 * This file is not part of the GNU gettext program, but is used with
5 * GNU gettext.
6 *
7 * The original copyright notice is as follows:
8 */
9
10 /* GLIB - Library of useful routines for C programming
11 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the
25 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
26 * Boston, MA 02111-1307, USA.
27 */
28
29 /*
30 * Modified by the GLib Team and others 2002. See the AUTHORS
31 * file for a list of people on the GLib Team. See the ChangeLog
32 * files for a list of changes. These files are distributed with
33 * GLib at ftp://ftp.gtk.org/pub/gtk/.
34 */
35
36 /*
37 * Modified by Bruno Haible for use as a gnulib module.
38 */
39
40 #ifndef __G_PRINTFINT_H__
41 #define __G_PRINTFINT_H__
42
43 #if 1
44
45 #if 0
46 #define _g_printf printf
47 #define _g_fprintf fprintf
48 #define _g_sprintf sprintf
49 #endif
50 #define _g_snprintf snprintf
51
52 #if 0
53 #define _g_vprintf vprintf
54 #define _g_vfprintf vfprintf
55 #define _g_vsprintf vsprintf
56 #define _g_vsnprintf vsnprintf
57 #endif
58
59 #else
60
61 #include "gnulib/printf.h"
62
63 #define _g_printf _g_gnulib_printf
64 #define _g_fprintf _g_gnulib_fprintf
65 #define _g_sprintf _g_gnulib_sprintf
66 #define _g_snprintf _g_gnulib_snprintf
67
68 #define _g_vprintf _g_gnulib_vprintf
69 #define _g_vfprintf _g_gnulib_vfprintf
70 #define _g_vsprintf _g_gnulib_vsprintf
71 #define _g_vsnprintf _g_gnulib_vsnprintf
72
73 #endif
74
75 #endif /* __G_PRINTF_H__ */
76