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.43k stars 151 forks source link

Set missing Windows defines #197

Closed Lukasa closed 10 months ago

Lukasa commented 10 months 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.