apple / swift-crypto

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
https://apple.github.io/swift-crypto
Apache License 2.0
1.47k stars 166 forks source link

Set missing Windows defines #197

Closed Lukasa closed 1 year ago

Lukasa commented 1 year ago

Motivation

We need a few extra Windows defines to match what BoringSSL does, and to suppress warnings.

Modifications

Add the missing defines.

Result

Fewer warnings. Resolves #195.