# Fix missing pthread_key_t definition on linux · gitcafe/zig

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

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

Visibility: public

Requested revision: 06f70c030af35d052784cd448f779c21cb9ea177

Requested commit: 06f70c030af35d052784cd448f779c21cb9ea177

Commit: 06f70c030af35d052784cd448f779c21cb9ea177

Tree: 570c6b1fe9e3670b14ba1a579b22e563a847dd78

Author: Ganesan Rajagopal

Committer: Andrew Kelley

## Message

```
Fix missing pthread_key_t definition on linux

* pthread_key_t should also be available for non-android platforms
* Also change the type to c_uint because Linux pthreadtypes.h typedefs it as "unsigned int"

Partially addresses #13950
```

## Parents

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

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