From: bmeurer@chromium.org Date: Thu, 18 Jul 2013 07:50:33 +0000 (+0000) Subject: Just check for C++ version. X-Git-Tag: upstream/4.7.83~13320 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31eeeab30d1a7ae55275b1d9e7e39e1d8e34b0f8;p=platform%2Fupstream%2Fv8.git Just check for C++ version. This fixes build breakage introduced with r15736. TBR=svenpanne@chromium.org Review URL: https://codereview.chromium.org/19671009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15737 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/checks.h b/src/checks.h index 55dc1bc..b309e2c 100644 --- a/src/checks.h +++ b/src/checks.h @@ -232,9 +232,7 @@ inline void CheckNonEqualsHelper(const char* file, // Use C++11 static_assert if possible, which gives error // messages that are easier to understand on first sight. -#if __cplusplus >= 201103L || \ - (defined(__has_feature) && __has_feature(cxx_static_assert)) || \ - (defined(__has_extension) && __has_extension(cxx_static_assert)) +#if __cplusplus >= 201103L #define STATIC_CHECK(test) static_assert(test, #test) #else // This is inspired by the static assertion facility in boost. This