From: Lasse Collin Date: Sat, 12 Sep 2009 11:09:17 +0000 (+0300) Subject: Fix GCC version check for nothrow attribute. X-Git-Tag: upstream/5.1.3~420 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c;p=platform%2Fupstream%2Fxz.git Fix GCC version check for nothrow attribute. --- diff --git a/src/liblzma/api/lzma.h b/src/liblzma/api/lzma.h index 9d28c28..dab2963 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