# std.build.TranslateCStep: add C macro support · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fbc06f9c9151205896fb167b087506d6580946c4)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fbc06f9c9151205896fb167b087506d6580946c4

Requested commit: fbc06f9c9151205896fb167b087506d6580946c4

Commit: fbc06f9c9151205896fb167b087506d6580946c4

Tree: 606a4577836fa35a6ca12b3838af8cc86d7861cb

Author: rohlem

Committer: Andrew Kelley

## Message

```
std.build.TranslateCStep: add C macro support

The string construction code is moved out of std.build.LibExeObjStep
into std.build.constructCMacroArg, to allow reusing it elsewhere.

```

## Parents

- [7d04ab1f14269b25a7ac03c3f787b3f3ee3453c3](https://git.cafe/gitcafe/zig/commit/7d04ab1f14269b25a7ac03c3f787b3f3ee3453c3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fbc06f9c9151205896fb167b087506d6580946c4?format=markdown)
