nim c now allows: when defined(c) (#10130)
This commit is contained in:
parent
0831292863
commit
9c65ea0d16
1 changed files with 1 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ proc mainCommand*(graph: ModuleGraph) =
|
|||
of "c", "cc", "compile", "compiletoc":
|
||||
# compile means compileToC currently
|
||||
conf.cmd = cmdCompileToC
|
||||
defineSymbol(graph.config.symbols, "c")
|
||||
commandCompileToC(graph)
|
||||
of "cpp", "compiletocpp":
|
||||
conf.cmd = cmdCompileToCpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue