From patchwork Thu Nov 28 18:47:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Kumar X-Patchwork-Id: 36358 Received: (qmail 45668 invoked by alias); 28 Nov 2019 18:47:51 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 45657 invoked by uid 89); 28 Nov 2019 18:47:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:2099 X-HELO: mail-pl1-f179.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=v68kGHnhmXByRX5cKbzGvFHgRMVmbcKsmFNfUe/rZEo=; b=FvEoKxNQcxOucSsNUB2uwd3jGY2NAghaRPIH+lPTo1zTSkBBfjITHkRTrpoB9QWxoS 83hyzX5XAHYe9yeo+Jfwm8RkqZPtcS38t0EmzjraqK9Rwx9gw7HgnJ2Pl4/5cRCei2Bg JzVKohsW76NwRU0XpbIIJrZe4ApEAwYoR2eUOonl94h0c6iSbJNxIE+f1BKM5nz3ThUL 5dqFNBpfeWLcOyuO92yXqyA/Cp9TVxPvBxwroWOlnMwGUU1od7O5k4uHRghFRvmRKSQr oJ+ytp8sO+IuVL8vjtD6ez6EbZ5QuT8lSr2vddxQC1HHoWO2EGNHV81yGFeIZM9VxEUj nuDw== Return-Path: From: Kamlesh Kumar To: libc-alpha@sourceware.org Subject: [PATCH] For Adding clang check Date: Fri, 29 Nov 2019 00:17:33 +0530 Message-Id: <20191128184733.27377-1-kamleshbhalui@gmail.com> ChangeLog : 2019-11-28 Kamlesh Kumar * string/string.h (__glibc_clang_prereq): Used. --- string/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string/string.h b/string/string.h index 73c22a535a..06a8977165 100644 --- a/string/string.h +++ b/string/string.h @@ -33,7 +33,7 @@ __BEGIN_DECLS #include /* Tell the caller that we provide correct C++ prototypes. */ -#if defined __cplusplus && __GNUC_PREREQ (4, 4) +#if defined __cplusplus && (__GNUC_PREREQ (4, 4) || __glibc_clang_prereq(3,5)) # define __CORRECT_ISO_CPP_STRING_H_PROTO #endif