replace: also use portable __has_attribute macro to check for "deprecated" attribute
authorBjörn Jacke <bj@sernet.de>
Thu, 8 Oct 2020 10:10:35 +0000 (12:10 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Oct 2020 04:45:40 +0000 (04:45 +0000)
commitde748864201167ac1b4ecf4f121fbe2b110103e5
treee38b78371570fa4cce6100748e36eae68a7c5754
parent2889baeec4a1c66a1ffd78469ed916e3b292f4d0
replace: also use portable __has_attribute macro to check for "deprecated" attribute

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14526

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/replace.h