git: <assert.h>: Define a static_assert macro for C11.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Apr 30 02:39:21 PDT 2014


commit 0ae79760231e06c0a42e6ad4f8f7da76d367e815
Author: Sascha Wildner <saw at online.de>
Date:   Mon Apr 21 14:27:35 2014 +0200

    <assert.h>: Define a static_assert macro for C11.
    
    Per clause 7.2 from the final draft:
    
    "The header <assert.h> defines the assert and static_assert macros [...]
     The macro static_assert expands to _Static_assert."

Summary of changes:
 include/assert.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ae79760231e06c0a42e6ad4f8f7da76d367e815


-- 
DragonFly BSD source repository



More information about the Commits mailing list