summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2017-09-27 11:31:11 +0000
committered <ed@FreeBSD.org>2017-09-27 11:31:11 +0000
commitb6ec5b6da17c48812919ccce1187fdbf3ecfc231 (patch)
treea0186e667d56e36ef2a9ad75cf43345c79fb22c3 /secure
parent95e0ec693530205c3ae4f03f3a134af5be6656d0 (diff)
downloadFreeBSD-src-b6ec5b6da17c48812919ccce1187fdbf3ecfc231.zip
FreeBSD-src-b6ec5b6da17c48812919ccce1187fdbf3ecfc231.tar.gz
MFC r322965:
Make _Static_assert() work with GCC in older C++ standards. GCC only activates C11 keywords in C mode, not C++ mode. This means that when targeting an older C++ standard, we cannot fall back to using _Static_assert(). In this case, do define _Static_assert() as a macro that uses a typedef'ed array.
Diffstat (limited to 'secure')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud