Fix GCC version check for nothrow attribute.
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 12 Sep 2009 11:09:17 +0000 (14:09 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 12 Sep 2009 11:09:17 +0000 (14:09 +0300)
src/liblzma/api/lzma.h

index 9d28c28..dab2963 100644 (file)
 #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