Skip to content
Commit 8acb4044 authored by Richard Smith's avatar Richard Smith
Browse files

libstdc++'s <cstdalign> #includes <stdalign.h> and expects it to guard against

being included in C++. Don't define alignof or alignas in this case. Note that
the C++11 standard is broken in various ways here (it refers to the contents
of <stdalign.h> in C99, where that header did not exist, and doesn't mention
the alignas macro at all), but we do our best to do what it intended.

llvm-svn: 175708
parent dc46338e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment