replace, attr.: use function attributes only if supported by feature macro (or old...
commitf133019db60afb0fea997dd6350a9376a91806d3
authorBjörn Jacke <bj@sernet.de>
Sun, 24 May 2020 11:57:46 +0000 (24 13:57 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 24 May 2020 23:55:36 +0000 (24 23:55 +0000)
treeaf82075e73d64cfe22438bcaa7a5d0a0239f2398
parent10b195fe12458e31faa8d3140a681edde932e6fe
replace, attr.: use function attributes only if supported by feature macro (or old gcc)

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

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