From: Lasse Collin Date: Sat, 12 Sep 2009 11:09:17 +0000 (+0300) Subject: Fix GCC version check for nothrow attribute. X-Git-Tag: v5.0.0~209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c;p=xz Fix GCC version check for nothrow attribute. --- diff --git a/src/liblzma/api/lzma.h b/src/liblzma/api/lzma.h index 9d28c28c..dab29636 100644 --- a/src/liblzma/api/lzma.h +++ b/src/liblzma/api/lzma.h @@ -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