From 20dc5003cd502f199fed78ea4f29e8ff1585765f Mon Sep 17 00:00:00 2001 From: Packit Date: Aug 21 2020 09:21:04 +0000 Subject: Apply patch glibc-rh1784519.patch patch_name: glibc-rh1784519.patch location_in_specfile: 296 present_in_specfile: true --- diff --git a/string/string.h b/string/string.h index 150cfd8..22cd0fa 100644 --- a/string/string.h +++ b/string/string.h @@ -33,7 +33,8 @@ __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