| 1 | --- static_assert.hpp-dist 2015-09-17 12:33:56.000000000 +0200
|
|---|
| 2 | +++ static_assert.hpp 2015-09-17 12:35:10.000000000 +0200
|
|---|
| 3 | @@ -67,7 +67,7 @@
|
|---|
| 4 | //
|
|---|
| 5 | // If the compiler warns about unused typedefs then enable this:
|
|---|
| 6 | //
|
|---|
| 7 | -#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)))
|
|---|
| 8 | +#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || (defined(__apple_build_version__) && (__apple_build_version__ >= 7000000))
|
|---|
| 9 | # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused))
|
|---|
| 10 | #else
|
|---|
| 11 | # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE
|
|---|