# std: Add libssp implementation for GNU/Windows targets · gitcafe/zig

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

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

Visibility: public

Requested revision: d44486b274a916823fcf6045a6400ef51e07d544

Requested commit: d44486b274a916823fcf6045a6400ef51e07d544

Commit: d44486b274a916823fcf6045a6400ef51e07d544

Tree: c12a3a3923b644d219f815630941073d99d31889

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Add libssp implementation for GNU/Windows targets

Unlike glibc and musl, MinGW provides no libssp symbols leading to
countless compile errors if FORTIFY_SOURCE is defined.

Add a (incomplete) implementation of libssp written in Zig so that
linking succeeds.

Closes #6492

```

## Parents

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

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