[libc-commits] [libc] [libc] Include EOF macro in stdio.h on baremetal (PR #85159)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Wed Mar 13 23:21:17 PDT 2024


================
@@ -52,6 +52,15 @@ def IntTypesAPI : PublicAPI<"inttypes.h"> {
   let Types = ["imaxdiv_t"];
 }
 
+def StdIOAPI : PublicAPI<"stdio.h"> {
+  let Macros = [
+    SimpleMacroDef<"EOF", "-1">,
----------------
petrhosek wrote:

Done

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


More information about the libc-commits mailing list