projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2012-01-11 Andreas Tobler <andreast@fgznet.ch>
[deliverable/binutils-gdb.git]
/
gdb
/
common
/
gdb_assert.h
diff --git
a/gdb/common/gdb_assert.h
b/gdb/common/gdb_assert.h
index 351f55877e344a32b5d1f0705cc5aeb24a8cb550..dc79a0823da1451ae1d8bab2db1cd7b7806e83e8 100644
(file)
--- 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. */
/* 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
extern int never_defined_just_used_for_checking[(expr) ? 1 : -1]
/* PRAGMATICS: "gdb_assert.h":gdb_assert() is a lower case (rather
This page took
0.024045 seconds
and
4
git commands to generate.