mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
722a1e479f
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. |
||
---|---|---|
.. | ||
ruby | ||
ruby.h |