Index: util/posix/symbolic_constants_posix.cc |
diff --git a/util/posix/symbolic_constants_posix.cc b/util/posix/symbolic_constants_posix.cc |
index 6846c5d241910d8e522e7acc22cf7b7cdf22ba7b..c5a4968bd4b43a4359224e0638ae330ff8ce9722 100644 |
--- a/util/posix/symbolic_constants_posix.cc |
+++ b/util/posix/symbolic_constants_posix.cc |
@@ -99,9 +99,9 @@ const char* kSignalNames[] = { |
}; |
#if defined(OS_LINUX) |
// NSIG is 64 to account for real-time signals. |
-COMPILE_ASSERT(arraysize(kSignalNames) == 32, kSignalNames_length); |
+static_assert(arraysize(kSignalNames) == 32, "kSignalNames length"); |
#else |
-COMPILE_ASSERT(arraysize(kSignalNames) == NSIG, kSignalNames_length); |
+static_assert(arraysize(kSignalNames) == NSIG, "kSignalNames length"); |
#endif |
const char kSigPrefix[] = "SIG"; |