]> granicus.if.org Git - xz/commitdiff
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 9d28c28c6a223644345b695363d32df4eb285363..dab29636bcd4c052fc38c8127660a89c9d6f26c7 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