]> git.eshelyaron.com Git - emacs.git/commit
Improve wur coverage on older GCCs
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2019 19:25:40 +0000 (12:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2019 19:25:53 +0000 (12:25 -0700)
commit8882419798bb9508fce23e6c4a85df7f9876dda8
tree1d42cc08e89d7cf6730225afc9b01a733da02d10
parent4bf3c94939406de6610cc83476adaed789826623
Improve wur coverage on older GCCs

* src/conf_post.h (__has_attribute_warn_unused_result):
New macro for compilers lacking __has_attribute.
* src/systhread.h (__has_attribute): Remove ineffective define.
(ATTRIBUTE_WARN_UNUSED_RESULT): Work better on GCC 3.4 thru 4.
src/conf_post.h
src/systhread.h