mirror of https://git.tukaani.org/xz.git
Fix GCC version check for nothrow attribute.
This commit is contained in:
parent
6bfdd3a88a
commit
15ffd675ab
|
@ -210,7 +210,7 @@
|
|||
#ifndef lzma_nothrow
|
||||
# if defined(__cplusplus)
|
||||
# define lzma_nothrow throw()
|
||||
# elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||
# elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
|
||||
# define lzma_nothrow __attribute__((__nothrow__))
|
||||
# else
|
||||
# define lzma_nothrow
|
||||
|
|
Loading…
Reference in New Issue