mangle names in nimbase.h using cppDefine (#19395) [backport]
mangle names in nimbase.h fix comments
This commit is contained in:
parent
2c5b367001
commit
4f6b59de96
2 changed files with 21 additions and 0 deletions
|
|
@ -3,6 +3,11 @@
|
|||
cppDefine "errno"
|
||||
cppDefine "unix"
|
||||
|
||||
# mangle the macro names in nimbase.h
|
||||
cppDefine "NAN_INFINITY"
|
||||
cppDefine "INF"
|
||||
cppDefine "NAN"
|
||||
|
||||
when defined(nimStrictMode):
|
||||
# xxx add more flags here, and use `-d:nimStrictMode` in more contexts in CI.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue