1
0
mirror of https://git.tukaani.org/xz.git synced 2025-03-31 12:50:56 +00:00

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

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