aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/mingw/stdio/ucrt___local_stdio_printf_options.c
blob: 986c4fd10489c493a03febcf8be0e9d33af64d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * This file has no copyright assigned and is placed in the Public Domain.
 * This file is part of the mingw-w64 runtime package.
 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 */

#undef __MSVCRT_VERSION__
#define _UCRT
#include <corecrt_stdio_config.h>

static unsigned __int64 options = _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS | _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING;

unsigned __int64* __local_stdio_printf_options(void) {
  return &options;
}