__STDC__ feature macro is non-exhaustive
Closed this issue · 4 comments
sykhro commented
Ran into this while compiling fiber under MSVC.
<hu/lang.h> uses __STDC__ to detect C-mode, but this macro is not defined if the C standard version chosen is >= 11 (at least, on MSVC). I replaced it with __STDC_VERSION__ as a workaround since I don't need C < 11 anyway, not sure what a suitable crossplatform solution would be.
simonfxr commented
@sykhro Thx for reporting, it should be fixed. Please let me know if it works for you
sykhro commented
Yup, that does the trick. Thanks!
sykhro commented
(side note: I'm using this through fiber so this submodule would need to be updated there)
simonfxr commented
Okay, I updated it