[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / libc / src / stdio / scanf_core / scanf_config.h
blobec99867233490eeb56446645ac31c8705f391533
1 //===-- Scanf Configuration Handler ----------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_SRC_STDIO_SCANF_CORE_SCANF_CONFIG_H
10 #define LLVM_LIBC_SRC_STDIO_SCANF_CORE_SCANF_CONFIG_H
12 // These macros can be set or unset to adjust scanf behavior at compile time.
14 // This flag disables all functionality relating to floating point numbers. This
15 // can be useful for embedded systems or other situations where binary size is
16 // important.
17 // #define LIBC_COPT_SCANF_DISABLE_FLOAT
19 // This flag disables index mode, a posix extension often used for
20 // internationalization of format strings. Supporting it takes up additional
21 // memory and parsing time, so it can be disabled if it's not used.
22 // #define LIBC_COPT_SCANF_DISABLE_INDEX_MODE
24 #endif // LLVM_LIBC_SRC_STDIO_SCANF_CORE_SCANF_CONFIG_H