about summary refs log tree commit diff
path: root/assert
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-02-05 15:52:20 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-02-07 14:43:27 -0800
commit3999d26ead93990b244ada078073fb58fb8bb5be (patch)
treefb49ba47c9d88204c23135ef44ac4adf7919120e /assert
parentf96ec27aa9f8fe871973b898ee407fe17681b6a7 (diff)
downloadglibc-3999d26ead93990b244ada078073fb58fb8bb5be.tar.gz
glibc-3999d26ead93990b244ada078073fb58fb8bb5be.tar.xz
glibc-3999d26ead93990b244ada078073fb58fb8bb5be.zip
Add ersatz _Static_assert on older C hosts
* misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
pre-C11 C platform that is not known to support _Static_assert.
Diffstat (limited to 'assert')
-rw-r--r--assert/assert.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/assert/assert.h b/assert/assert.h
index ae777931c5..d04c58cc8a 100644
--- a/assert/assert.h
+++ b/assert/assert.h
@@ -113,7 +113,6 @@ __END_DECLS
 
 
 #if defined __USE_ISOC11 && !defined __cplusplus
-/* Static assertion.  Requires support in the compiler.  */
 # undef static_assert
 # define static_assert _Static_assert
 #endif