mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Define static_assert
This commit is contained in:
@@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
2011-12-23 Ulrich Drepper <drepper@gmail.com>
|
2011-12-23 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
[BZ #13529]
|
||||||
|
* assert/assert.h (static_assert): Define.
|
||||||
|
|
||||||
* version.h: Update for 2.15 development version.
|
* version.h: Update for 2.15 development version.
|
||||||
|
|
||||||
[BZ #13526]
|
[BZ #13526]
|
||||||
|
2
NEWS
2
NEWS
@@ -9,7 +9,7 @@ Version 2.16
|
|||||||
|
|
||||||
* The following bugs are resolved with this release:
|
* The following bugs are resolved with this release:
|
||||||
|
|
||||||
13526
|
13526, 13529
|
||||||
|
|
||||||
|
|
||||||
Version 2.15
|
Version 2.15
|
||||||
|
@@ -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.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@@ -113,3 +113,10 @@ __END_DECLS
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif /* NDEBUG. */
|
#endif /* NDEBUG. */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __USE_ISOC11
|
||||||
|
/* Static assertion. Requires support in the compiler. */
|
||||||
|
# undef static_assert
|
||||||
|
# define static_assert _Static_assert
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user