[libc-commits] [libc] [libc] Add __isoc99_fscanf alias. (PR #213125)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Fri Jul 31 18:08:29 PDT 2026


================
@@ -193,6 +193,10 @@ function(_get_compile_options_from_config output_var)
     list(APPEND config_options "-DLIBC_COPT_USE_C_ASSERT")
   endif()
 
+  if(LIBC_CONF_SCANF_PROVIDE_ISOC99_ALIASES)
+    list(APPEND config_options "-DLIBC_CONF_SCANF_PROVIDE_ISOC99_ALIASES")
----------------
vonosmas wrote:

We typically use "LIBC_COPT" prefix for compile defines here (e.g. see how LIBC_CONF_CTYPE_SMALLER_ASCII converts into LIBC_COPT_CTYPE_SMALLER_ASCII)

https://github.com/llvm/llvm-project/pull/213125


More information about the libc-commits mailing list