]> 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)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 27 Jun 2024 16:55:22 +0000 (18:55 +0200)
fixincludes/ChangeLog:

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

fixincludes/fixincl.x
fixincludes/inclhack.def

index 54a530b50ca98ac9216bff1a8cbff22407041cc7..fb9950d9b21ded437b6c4c72d011aeb6323c18c9 100644 (file)
@@ -2,11 +2,11 @@
  *
  * DO NOT EDIT THIS FILE   (fixincl.x)
  *
- * It has been AutoGen-ed  June  7, 2024 at 11:03:58 AM by AutoGen 5.18.16
+ * It has been AutoGen-ed  June 27, 2024 at 06:52:39 PM by AutoGen 5.18.16
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Fri Jun  7 11:03:58 CEST 2024
+/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Jun 27 18:52:39 CEST 2024
  *
  * 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 f7fc5cdbabdd31091a56a3d7a9578725ef29c547..9f4a41199a1b920b753e1ab8a9f567624e9bb191 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"