# improvements for windows and libc integration · gitcafe/zig

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

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

Visibility: public

Requested revision: d6856859d3082d9b66aac7c25ceb2abcd13e2f7c

Requested commit: d6856859d3082d9b66aac7c25ceb2abcd13e2f7c

Commit: d6856859d3082d9b66aac7c25ceb2abcd13e2f7c

Tree: dacade36cf18d88b1c21414130b33da91d7f7784

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
improvements for windows and libc integration

 * standard library knows if it is linking against libc and will
   sometimes call libc functions in that case instead of providing
   redundant definitions
 * fix infinite loop bug when resolving use declarations
 * allow calling the same C function from different C imports.
   closes #277
 * push more logic from compiler to std/bootstrap.zig
 * standard library provides way to access errno
   closes #274
 * fix compile error in standard library for windows
 * add implementation of getRandomBytes for windows

```

## Parents

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

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