<sys/cdefs.h>: Fix the _Static_assert compatiblity macros.
authorSascha Wildner <saw@online.de>
Sun, 15 Sep 2013 19:32:24 +0000 (21:32 +0200)
committerSascha Wildner <saw@online.de>
Sun, 15 Sep 2013 19:32:47 +0000 (21:32 +0200)
commit91c5bb9b968b3d78abd1649ec5cb204d7eef1219
treee4b3d3709c98a89cc0dcd42640fca224c4530c46
parent798c33691a16b52c05865a80b847226733839ed2
<sys/cdefs.h>: Fix the _Static_assert compatiblity macros.

Remove the typedef hack (which was like our CTASSERT()). Emacs was
choking on it because it is using _Static_assert like this (in verify.h):

#define _GL_VERIFY_TYPE(R, DIAGNOSTIC)  \
     struct {                           \
       _Static_assert (R, DIAGNOSTIC);  \
       int _gl_dummy;                   \
     }

GCC supports it since 4.6, so take that into account too.
sys/sys/cdefs.h