diff --git a/tools/m2ctx.py b/tools/m2ctx.py index 5d017508..71562c0a 100755 --- a/tools/m2ctx.py +++ b/tools/m2ctx.py @@ -80,6 +80,8 @@ lines = ctx.splitlines(True) for i in reversed(range(len(lines))): if lines[i].startswith('#define __cplusplus'): lines.pop(i) elif lines[i].startswith('#define __STDC_HOSTED__'): lines.pop(i) + elif lines[i].startswith('#define __STDC__'): lines.pop(i) + elif lines[i].startswith('#define __STDC_VERSION__'): lines.pop(i) ctx = ''.join(lines)