1 /* Formatted output to strings in C locale.
2 Copyright (C) 2009-2016 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 #include "printf-parse.h"
23 #define VASNPRINTF c_vasnprintf
26 #define DIRECTIVE char_directive
27 #define DIRECTIVES char_directives
28 #define PRINTF_PARSE printf_parse
29 #define DCHAR_CPY memcpy
30 #define DCHAR_SET memset
31 #define DCHAR_IS_TCHAR 1
34 #define NEED_PRINTF_DOUBLE 1
35 #define NEED_PRINTF_LONG_DOUBLE 1
36 #define decimal_point_char_defined 1
38 decimal_point_char (void)
43 #include "vasnprintf.c"