# libcxx: define \_LIBCPP_ABI_VERSION and \_LIBCPP_ABI_NAMESPACE · gitcafe/zig

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

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

Visibility: public

Requested revision: f79824f946995a050c261ee96a08e31ccf00a112

Requested commit: f79824f946995a050c261ee96a08e31ccf00a112

Commit: f79824f946995a050c261ee96a08e31ccf00a112

Tree: 354cab5f5640827e5fc85e15796ff250769a47c1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
libcxx: define _LIBCPP_ABI_VERSION and _LIBCPP_ABI_NAMESPACE

The changes from https://reviews.llvm.org/D119173 mean that __config no
longer defaults the libc++ ABI to 1, relying on external configuration.
This means Zig must provide the external configuration.

This fixes static libraries built with zig with -lc++ to have the
standard __1 namespace prefix, which had previously regressed in the
llvm15 branch.

```

## Parents

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

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