diff options
| author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-09-26 00:19:09 +0900 |
|---|---|---|
| committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-09-26 00:30:36 +0900 |
| commit | 722a1e479f9f0d517024eb3f4959cc33f4be4383 (patch) | |
| tree | 084c20b03c0bde9bb599a230104e0d7316bf7490 /spec/ruby/core/basicobject | |
| parent | f7c4118263f64667a4e34181cbf21f101f6ec737 (diff) | |
RBIMPL_ALIGNAS: reorder #ifdef blocks
Since r63443, `-std=gnu99 -D_XOPEN_SOUCE=x00` is added to Solaris'
`CPPFLAGS`. `CPPFLAGS` is shared among `CC` / `CXX`. This results in
both `__STDC_VERSION__` and `__cplusplus` to be defined at the same time
for a C++ compilation, only on Solaris.
It seems the `CPPFLAGS` addition is intentional. We sould not touch
that part. Instead we need to reroute this by always check for
`__cplusplus` first.
Diffstat (limited to 'spec/ruby/core/basicobject')
0 files changed, 0 insertions, 0 deletions
