public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] For Adding clang check
@ 2019-11-28 18:47 Kamlesh Kumar
  2019-11-28 18:52 ` Florian Weimer
  0 siblings, 1 reply; 8+ messages in thread
From: Kamlesh Kumar @ 2019-11-28 18:47 UTC (permalink / raw)
  To: libc-alpha

ChangeLog :

2019-11-28  Kamlesh Kumar  <kamleshbhalui@gmail.com>

       * 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 <stddef.h>
 
 /* 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
 
-- 
2.17.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-05 15:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 18:47 [PATCH] For Adding clang check Kamlesh Kumar
2019-11-28 18:52 ` Florian Weimer
2019-11-29  0:47   ` kamlesh kumar
2019-11-29  8:26     ` Florian Weimer
2019-11-29  9:50       ` kamlesh kumar
2019-11-29 10:58       ` Jonathan Wakely
2019-11-29 11:38         ` Florian Weimer
2019-12-05 15:51           ` Florian Weimer

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).