Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Unified Diff: gdb/common/gdb_assert.h

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/common/format.c ('k') | gdb/common/gdb_signals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/common/gdb_assert.h
diff --git a/gdb/common/gdb_assert.h b/gdb/common/gdb_assert.h
index 351f55877e344a32b5d1f0705cc5aeb24a8cb550..dc79a0823da1451ae1d8bab2db1cd7b7806e83e8 100644
--- a/gdb/common/gdb_assert.h
+++ b/gdb/common/gdb_assert.h
@@ -22,7 +22,7 @@
/* A static assertion. This will cause a compile-time error if EXPR,
which must be a compile-time constant, is false. */
-#define static_assert(expr) \
+#define gdb_static_assert(expr) \
extern int never_defined_just_used_for_checking[(expr) ? 1 : -1]
/* PRAGMATICS: "gdb_assert.h":gdb_assert() is a lower case (rather
« no previous file with comments | « gdb/common/format.c ('k') | gdb/common/gdb_signals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698