master
 1/**
 2 * This file has no copyright assigned and is placed in the Public Domain.
 3 * This file is part of the Wine project.
 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 5 */
 6
 7#ifndef _STDIO_CONFIG_DEFINED
 8#define _STDIO_CONFIG_DEFINED
 9
10#include <corecrt.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16unsigned __int64* __local_stdio_printf_options(void);
17unsigned __int64* __local_stdio_scanf_options(void);
18
19#define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION  0x0001ULL
20#define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR        0x0002ULL
21#define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS            0x0004ULL
22#define _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY       0x0008ULL
23#define _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS      0x0010ULL
24#define _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING                 0x0020ULL
25
26#define _CRT_INTERNAL_SCANF_SECURECRT                    0x0001ULL
27#define _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS       0x0002ULL
28#define _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY  0x0004ULL
29
30#ifndef _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
31#define _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS  (*__local_stdio_printf_options())
32#endif
33
34#ifndef _CRT_INTERNAL_LOCAL_SCANF_OPTIONS
35#define _CRT_INTERNAL_LOCAL_SCANF_OPTIONS   (*__local_stdio_scanf_options())
36#endif
37
38#ifdef __cplusplus
39}
40#endif
41#endif /* _STDIO_CONFIG_DEFINED */