# zig.h: Don't use \_\_debugbreak\(\) for MinGW\. · gitcafe/zig

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

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

Visibility: public

Requested revision: ba6681418515d2f531b8a5ec98b47581c285a384

Requested commit: ba6681418515d2f531b8a5ec98b47581c285a384

Commit: ba6681418515d2f531b8a5ec98b47581c285a384

Tree: 755f6652ea4fcc96719f1b3aea4473a3e71337d1

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
zig.h: Don't use __debugbreak() for MinGW.

It seems like only Clang supports this in MinGW mode, and Clang will already
take the __builtin_debugtrap() path anyway.

```

## Parents

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

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