]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
Fix NORETURN when GCC minor version is 0
authorThomas Huth <huth@tuxfamily.org>
Mon, 23 Apr 2018 17:40:51 +0000 (19:40 +0200)
committerThomas Huth <huth@tuxfamily.org>
Mon, 21 May 2018 03:36:37 +0000 (05:36 +0200)
commit14078f67daf6b42c53588c490789adee7cbf2146
tree3413909d7a905728de9671abeba3fd3e95070ff2
parent328f2fb4414b772a110f5703ec64f097b77a073a
Fix NORETURN when GCC minor version is 0

The check currently tests if major > 2 && minor >= 1 (since the wanted
attribute functions were likely available since GCC 3.1). That of course
failing if a newer x.0 release of the compiler is used, like GCC 8.0.
So let's fix the check to handle all newer compiler versions correctly.
include/sysdeps.h