Check if __GCC__ is defined first

This commit is contained in:
Nicholas Guarracino 2015-11-13 09:54:27 -05:00
parent eae7c21177
commit 70c58cce50
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@
#endif // _MSC_VER
#if (__GNUC__ < 5) && !defined(__clang__)
#if defined(__GNUC__) && (__GNUC__ < 5) && !defined(__clang__)
#define constexpr /* nothing */
#endif

View File

@ -60,7 +60,7 @@
#endif // _MSC_VER
#if (__GNUC__ < 5) && !defined(__clang__)
#if defined(__GNUC__) && (__GNUC__ < 5) && !defined(__clang__)
#define constexpr /* nothing */
#endif
@ -231,7 +231,7 @@ private:
#ifndef _MSC_VER
#if (__GNUC__ < 5) && !defined(__clang__)
#if defined(__GNUC__) && (__GNUC__ < 5) && !defined(__clang__)
const std::ptrdiff_t dynamic_range = -1;
#else
struct static_bounds_dynamic_range_t