summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/isa_pci.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-14 09:09:37 +0000
committered <ed@FreeBSD.org>2011-12-14 09:09:37 +0000
commit7d15ee0fa9108440bc5dbb41614f2cd01606a243 (patch)
tree681563a3472c44b9f23f776b7fa6c04bec3672a4 /sys/dev/pci/isa_pci.c
parent3261af5d4be61ef5b85c438a756a98f4ffdd76b9 (diff)
downloadFreeBSD-src-7d15ee0fa9108440bc5dbb41614f2cd01606a243.zip
FreeBSD-src-7d15ee0fa9108440bc5dbb41614f2cd01606a243.tar.gz
Slightly alter the C1X definitions in in cdefs.h:
- Add _Alignas(). Unfortunately this macro is only partially functional. The C1X standard will allow both an integer and a type name to be passed to this macro, while this macro only allows an integer. To be portable, one must use _Alignas(_Alignof(double)) to use type names. - Don't do _Static_assert() when __COUNTER__ is not supported. We'd better keep this implementation robust and allow it to be used in header files, without mysteriously breaking older compilers.
Diffstat (limited to 'sys/dev/pci/isa_pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud