]> 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 <iain@sandoe.co.uk>
Thu, 1 May 2025 14:49:38 +0000 (15:49 +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 e52f11d8460f8ecf375a0949d2c2409a7854c5b3..45d65f4872ab83946327728541aa13ffdebebabf 100644 (file)
@@ -2,11 +2,11 @@
  *
  * DO NOT EDIT THIS FILE   (fixincl.x)
  *
- * It has been AutoGen-ed  August 17, 2023 at 10:16:38 AM by AutoGen 5.18.12
+ * It has been AutoGen-ed  April  1, 2025 at 03:28:07 PM by AutoGen 5.18.16
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Aug 17 10:16:38 CEST 2023
+/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Apr  1 15:28:07 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 19e0ea2df66270f015b867f2a67d7bc27c04d956..67a1082f9268c8d5bb45d2b19e7d29cbe3bcb967 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"