diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-03 07:54:34 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-03 07:54:34 -0500 |
commit | aff067358751a03ad1f9e397204490b8bfb2fb29 (patch) | |
tree | 6d462d2049b215370a4f1075629d71e695ba600d /assert/assert.h | |
parent | 9f1151705e3d861a4d6d680e74158cd708119053 (diff) | |
parent | db6af3ebf46a83b885455dc03a3c2c1c2c2dedec (diff) | |
download | glibc-aff067358751a03ad1f9e397204490b8bfb2fb29.tar glibc-aff067358751a03ad1f9e397204490b8bfb2fb29.tar.gz glibc-aff067358751a03ad1f9e397204490b8bfb2fb29.tar.bz2 glibc-aff067358751a03ad1f9e397204490b8bfb2fb29.zip |
Merge branch 'c11'
Diffstat (limited to 'assert/assert.h')
-rw-r--r-- | assert/assert.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/assert/assert.h b/assert/assert.h index 841f435973..4022e28b55 100644 --- a/assert/assert.h +++ b/assert/assert.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,1992,1994-2001,2003,2004,2007 +/* Copyright (C) 1991,1992,1994-2001,2003,2004,2007,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -113,3 +113,10 @@ __END_DECLS # endif #endif /* NDEBUG. */ + + +#ifdef __USE_ISOC11 +/* Static assertion. Requires support in the compiler. */ +# undef static_assert +# define static_assert _Static_assert +#endif |