From 579a4f1e26feab1dac8795521b3f2f236eab30fa Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 15 2020 07:39:04 +0000 Subject: Apply patch glibc-rh1784519.patch patch_name: glibc-rh1784519.patch present_in_specfile: true location_in_specfile: 296 --- 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