| Index: src/checks.h
|
| diff --git a/src/checks.h b/src/checks.h
|
| index 50e4b4004501ebf69bc23aa0da27765592a0d084..3b283831ed03e2c3b63a8ae1f9670a24f0390d95 100644
|
| --- a/src/checks.h
|
| +++ b/src/checks.h
|
| @@ -31,6 +31,7 @@
|
| #include <string.h>
|
|
|
| #include "../include/v8stdint.h"
|
| +
|
| extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
|
|
|
| // Define custom A64 preprocessor helpers to facilitate development.
|
| @@ -300,7 +301,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
|
| +#if V8_HAS_CXX11_STATIC_ASSERT
|
| #define STATIC_CHECK(test) static_assert(test, #test)
|
| #else
|
| // This is inspired by the static assertion facility in boost. This
|
|
|