diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-09-20 10:22:54 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-23 16:00:18 -0400 |
commit | e78752df0cb5c22826d75751229b017b58f6dcab (patch) | |
tree | c907e8baf11143f740fb3420641690440de85e46 /.gitlab | |
parent | a940ba7f5004d1ce8941a98341fda0cac4d11bfb (diff) | |
download | haskell-e78752df0cb5c22826d75751229b017b58f6dcab.tar.gz |
rts: Ensure that headers don't refer to undefined __STDC_VERSION__
Previously the C/C++ language version check in STG could throw an
undefined macro warning due to __STDC_VERSION__ when compiled with a C++
compiler. Fix this by defining __STDC_VERSION__==0 when compiling with a
C++ compiler.
Fixes #20394.
Diffstat (limited to '.gitlab')
0 files changed, 0 insertions, 0 deletions