# std: Work around unexported NtCurrentTeb · gitcafe/zig

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

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

Visibility: public

Requested revision: 2e04b61275062f4a3672cdea2456effbc0cb22a5

Requested commit: 2e04b61275062f4a3672cdea2456effbc0cb22a5

Commit: 2e04b61275062f4a3672cdea2456effbc0cb22a5

Tree: 50010fba00281c8c27b91fc91f460312b311780a

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Work around unexported NtCurrentTeb

Apparently NtCurrentTeb is only exported for i386 and some other
platforms but not for x86_64 nor AArch64. Let's go with the flow and
provide our own NtCurrentTeb like the Windows headers do.

Thank you Microsoft.

```

## Parents

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

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