X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fcommon%2Fgdb_assert.h;h=dc79a0823da1451ae1d8bab2db1cd7b7806e83e8;hb=2efa2c79ea0c2bcd8cc35dcdfe49492ba5304134;hp=351f55877e344a32b5d1f0705cc5aeb24a8cb550;hpb=88e7d25d8daee9ae228af4ead1fd61bb8657c126;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/common/gdb_assert.h b/gdb/common/gdb_assert.h index 351f55877e..dc79a0823d 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