]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fixincludes: adjust stdio fix for macOS 15 headers
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 27 Jun 2024 16:55:22 +0000 (18:55 +0200)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 4 Jul 2025 05:32:47 +0000 (06:32 +0100)
fixincludes/ChangeLog:

* fixincl.x: Regenerate.
* inclhack.def (apple_local_stdio_fn_deprecation): Also apply to
_stdio.h.

(cherry picked from commit 1dc143181550573c9c902fb7a3b495e9b409d0b0)

fixincludes/fixincl.x
fixincludes/inclhack.def

index 0bc8eb049a38f2d3d3789452bc090f6a5365b561..0e65c60955b57a1d34bf57a3bb05586d964cbac3 100644 (file)
@@ -2,11 +2,11 @@
  *
  * DO NOT EDIT THIS FILE   (fixincl.x)
  *
- * It has been AutoGen-ed  March 30, 2024 at 04:03:59 PM by AutoGen 5.18.7
+ * It has been AutoGen-ed  July  3, 2025 at 01:13:03 PM by AutoGen 5.18.16
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Sat Mar 30 16:03:59 GMT 2024
+/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Jul  3 13:13:03 BST 2025
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -2619,7 +2619,7 @@ tSCC zApple_Local_Stdio_Fn_DeprecationName[] =
  *  File name selection pattern
  */
 tSCC zApple_Local_Stdio_Fn_DeprecationList[] =
-  "stdio.h\0";
+  "stdio.h\0_stdio.h\0";
 /*
  *  Machine/OS name selection pattern
  */
index 31a21c2a66d80ed5b647b464b6daf178a3224cb7..f217ae978d2295dcf975f655281b293cbc8f6dba 100644 (file)
@@ -1273,6 +1273,7 @@ fix = {
     hackname  = apple_local_stdio_fn_deprecation;
     mach      = "*-*-*darwin2*";
     files     = stdio.h;
+    files     = _stdio.h;
     select    = "__deprecated_msg([^\n]*)$";
     c_fix     = format;
     c_fix_arg = "#if defined(__APPLE_LOCAL_DEPRECATIONS)\n"