summaryrefslogtreecommitdiff
path: root/src/unistd/unlink.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-12-29 12:46:15 -0500
committerRich Felker <dalias@aerifal.cx>2015-12-29 12:46:15 -0500
commit71991a803c8a8fe10a6ed49bc4f0a1f4890d6c46 (patch)
tree0844f3ae9a705706b41aed807dac6d0b64413a46 /src/unistd/unlink.c
parentc673158d91ad995ed59dd910777cd6464f61fe8e (diff)
downloadmusl-71991a803c8a8fe10a6ed49bc4f0a1f4890d6c46.tar.gz
musl-71991a803c8a8fe10a6ed49bc4f0a1f4890d6c46.tar.bz2
musl-71991a803c8a8fe10a6ed49bc4f0a1f4890d6c46.tar.xz
musl-71991a803c8a8fe10a6ed49bc4f0a1f4890d6c46.zip
adjust i386 max_align_t definition to work around some broken compilers
at least gcc 4.7 claims c++11 support but does not accept the alignas keyword, causing breakage when stddef.h is included in c++11 mode. instead, prefer using __attribute__((__aligned__)) on any compiler with GNU extensions, and only use the alignas keyword as a fallback for other C++ compilers. C code should not be affected by this patch.
Diffstat (limited to 'src/unistd/unlink.c')
0 files changed, 0 insertions, 0 deletions