From 3999d26ead93990b244ada078073fb58fb8bb5be Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 5 Feb 2015 15:52:20 -0800 Subject: 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. --- assert/assert.h | 1 - 1 file changed, 1 deletion(-) (limited to 'assert') 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 -- cgit 1.4.1