# zig.h: Improve portability of zig\_\*\_windows_teb\(\) helpers\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 6b2c8fc6886cdf251146aa3674e87f6ca3111e24

Requested commit: 6b2c8fc6886cdf251146aa3674e87f6ca3111e24

Commit: 6b2c8fc6886cdf251146aa3674e87f6ca3111e24

Tree: c50ecbbf8651c996e79299cee58cea55e225fe05

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
zig.h: Improve portability of zig_*_windows_teb() helpers.

* Make it work for thumb and aarch64.
* Clean up std.os.windows.teb() a bit.

I also updated stage1/zig.h since the changes are backwards-compatible and are
necessary due to the std.os.windows changes that call the newly-added functions.

```

## Parents

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

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