public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-11395] Darwin: Correct a merge error.
Date: Sun, 28 Apr 2024 18:22:45 +0000 (GMT)	[thread overview]
Message-ID: <20240428182245.CD8DA3858D33@sourceware.org> (raw)

https://gcc.gnu.org/g:b54b43396c9c716c43d58a60efafb21419d2fbb5

commit r11-11395-gb54b43396c9c716c43d58a60efafb21419d2fbb5
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Sun Apr 28 17:05:06 2024 +0100

    Darwin: Correct a merge error.
    
    For this branch the default_libc_has_function () is not available.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
    gcc/ChangeLog:
    
            * config/darwin.c: Return true as the default libc avaiability.

Diff:
---
 gcc/config/darwin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 6e887a9ba5a..a473ea79b1b 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -3603,7 +3603,7 @@ darwin_libc_has_function (enum function_class fn_class,
 	    || (darwin_macosx_version_min &&
 		strverscmp (darwin_macosx_version_min, "10.3") >= 0));
 #endif
-  return default_libc_has_function (fn_class, type);
+  return true;
 }
 
 /*  CFStrings implementation.  */

                 reply	other threads:[~2024-04-28 18:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240428182245.CD8DA3858D33@sourceware.org \
    --to=iains@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).