Fix GCC version check for nothrow attribute.

This commit is contained in:
Lasse Collin 2009-09-12 14:09:17 +03:00
parent 6bfdd3a88a
commit 15ffd675ab
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@
#ifndef lzma_nothrow #ifndef lzma_nothrow
# if defined(__cplusplus) # if defined(__cplusplus)
# define lzma_nothrow throw() # 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__)) # define lzma_nothrow __attribute__((__nothrow__))
# else # else
# define lzma_nothrow # define lzma_nothrow