From 2efa2c79ea0c2bcd8cc35dcdfe49492ba5304134 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 11 Jan 2012 21:51:31 +0000 Subject: 2012-01-11 Andreas Tobler * common/gdb_assert.h (gdb_static_assert): Rename static_assert to an internal gdb_static_assert. * mi/mi-common.c: Rename static_assert to gdb_static_assert. --- gdb/common/gdb_assert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/common') diff --git a/gdb/common/gdb_assert.h b/gdb/common/gdb_assert.h index 351f558..dc79a08 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 -- cgit v1.1